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

Páxina inicial
Borrar esta mensaxe
Autor: Martin Jerabek
Data:  
Para: pcre-dev
Asunto: [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