Page 1 of 1

how to enable Log in PCem ?

Posted: Fri 27 Jul, 2018 9:00 am
by Siggy12
Hello guys,
I d like to know how is possible to enable Log in PCem.

Thank You for Your help.

Re: how to enable Log in PCem ?

Posted: Fri 27 Jul, 2018 12:51 pm
by Tux
It depends on the build process when compiling PCem.
When you run the "configure" script (I suppose you are running a decent OS, e.g. Linux) do NOT enable release-build.

Re: how to enable Log in PCem ?

Posted: Fri 27 Jul, 2018 1:03 pm
by Siggy12
Tux wrote: Fri 27 Jul, 2018 12:51 pm It depends on the build process when compiling PCem.
When you run the "configure" script (I suppose you are running a decent OS, e.g. Linux) do NOT enable release-build.
I don't like Linux sorry !!!
anyway i was meaning if possible on the final release to catch some bug.

Re: how to enable Log in PCem ?

Posted: Fri 27 Jul, 2018 5:54 pm
by JosepMa
Mmm.... indeed, seems the log is completely disabled from release builds :

Code: Select all

void pclog(const char *format, ...)
{
#ifndef RELEASE_BUILD
        char buf[1024];
    [...]
#endif
}