how to enable Log in PCem ?

Support and general discussion.
Post Reply
Siggy12
Posts: 54
Joined: Sat 21 Jul, 2018 6:04 pm

how to enable Log in PCem ?

Post by Siggy12 »

Hello guys,
I d like to know how is possible to enable Log in PCem.

Thank You for Your help.
User avatar
Tux
Posts: 24
Joined: Thu 03 May, 2018 6:36 pm
Location: Germany

Re: how to enable Log in PCem ?

Post 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.
Siggy12
Posts: 54
Joined: Sat 21 Jul, 2018 6:04 pm

Re: how to enable Log in PCem ?

Post 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.
JosepMa
Posts: 202
Joined: Tue 20 Jun, 2017 6:25 pm

Re: how to enable Log in PCem ?

Post 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
}
Post Reply