how to enable Log in PCem ?

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

how to enable Log in PCem ?

Post by Siggy12 » Fri 27 Jul, 2018 9:00 am

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

Thank You for Your help.

User avatar
Tux
Posts: 9
Joined: Thu 03 May, 2018 6:36 pm
Location: Germany

Re: how to enable Log in PCem ?

Post by Tux » 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.

Siggy12
Posts: 11
Joined: Sat 21 Jul, 2018 6:04 pm

Re: how to enable Log in PCem ?

Post by Siggy12 » Fri 27 Jul, 2018 1:03 pm

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: 120
Joined: Tue 20 Jun, 2017 6:25 pm

Re: how to enable Log in PCem ?

Post by JosepMa » Fri 27 Jul, 2018 5:54 pm

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