[pcre-dev] [Bug 804] New: Definition of BOOL in the wrong pl…

Page principale
Supprimer ce message
Auteur: ac
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 804] New: Definition of BOOL in the wrong place in pcre_internal.h
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=804
           Summary: Definition of BOOL in the wrong place in pcre_internal.h
           Product: PCRE
           Version: 7.8
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: bug
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: ac@???
                CC: pcre-dev@???



The BOOL typedef is declared inside 'ifndef FALSE'. If FALSE is defined, the
BOOL typedef is never declared causing a screen full of compile-time errors. I
discovered this on an AIX 4.3 machine. This problem can occur on any machine
that already has FALSE defined, or by doing

CFLAGS="-DFALSE=0" ./configure

Also, the definition of TRUE is within the ifndef FALSE block. ISTM that there
should be a separate ifndef TRUE block.

Andrew Chernow
eSilo, LLC


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email