[milter-greylist] Compile problem on Tru64 UNIX
2004-10-11 by attila.bruncsak@itu.int
Hello, I took time now to try to go higher version from 1.5.3 with my patch up to version 1.5.8. The 1.5.4 already includes the IPV6 support. To have the IPV6 compiled on Tru64 UNIX the _OSF_SOURCE symbol has to be defined. But if I define the CFLAGS=-D_OSF_SOURCE there are two additional things which break. The /usr/include/c_excpt.h file (included from <pthread.h>) has already the except identifier defined: #define except __builtin_except The /usr/include/arpa/nameser_compat.h file (included indirectly from <netdb.h>) has already the C_NONE identifier defined (creates warning only): #define C_NONE ns_c_none It is quiet unfortunate that the program name space and the program development environment name space are not distinct. I have no much chance to change the name definitions in the include files. I already created a set of patch which changes the except identifier to glexcept and the C_NONE to C_GLNONE in the milter-greylist source codes. With this change the compilation on Tru64 UNIX is more or less clean. Is it possible to include this into the next release? I do not think that it would break something on other platforms. Bests, Attila