[pcre-dev] [Bug 761] Unable to compile PCRE with AIX

Top Page
Delete this message
Author: Martin Jerabek
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 761] Unable to compile PCRE with AIX
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=761




--- Comment #3 from Martin Jerabek <martin.jerabek@???> 2008-09-29 13:20:53 ---
You have to define _ANSI_C_SOURCE to prevent the FALSE and TRUE macros from
/usr/include/sys/types.h from being defined.

With the IBM compiler, _ANSI_C_SOURCE is automatically defined when invoking
the compiler as "c89". I do not know if there is a similar mechanism for gcc
but you can also simply define _ANSI_C_SOURCE on the compiler command line.


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