Received: (qmail 28736 invoked by uid 2012); 27 Aug 1998 17:59:53 -0000 Message-Id: <19980827175953.28735.qmail@hyperreal.org> Date: 27 Aug 1998 17:59:53 -0000 From: Brian Carr Reply-To: brian_carr@usa.net To: apbugs@hyperreal.org Subject: Conditional compiles do not work under OS/2 if DEBUG_INCLUDE_CMD is set X-Send-Pr-Version: 3.2 >Number: 2917 >Category: os-os2 >Synopsis: Conditional compiles do not work under OS/2 if DEBUG_INCLUDE_CMD is set >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Aug 27 11:00:00 PDT 1998 >Last-Modified: Sun Sep 6 20:42:12 PDT 1998 >Originator: brian_carr@usa.net >Organization: >Release: 1.3.1 >Environment: OS/2 with GCC and EMX installed >Description: The conditional compiles are not quite right if DEBUG_INCLUDE_CMD is set. In particular, the FILE *dbg is defined twice and causes the compile to fail. I would be happy to send a fixed file though such a minor change is hardly worth sending. >How-To-Repeat: Compile with __EMX__ flag set. >Fix: Move the 1st FILE *dbg to after the #else for __EMX__ test and move the print to after the first #endif. >Audit-Trail: Category-Changed-From-To: general-os-os2 Category-Changed-By: coar Category-Changed-When: Sat Aug 29 06:24:07 PDT 1998 Release-Changed-From-To: 1.31-1.3.1 Release-Changed-By: coar Release-Changed-When: Sat Aug 29 06:24:26 PDT 1998 State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Sep 6 20:42:11 PDT 1998 State-Changed-Why: Fixed, thanks for the note. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]