Dear Ralf I'm using GNU Pth library version 1.4.0 on HP UX10.20 with gcc 2.95.1. I am unable to compile my code using Pth because the Pth library uses FALSE in a '#if ...' expression in pth.h and FALSE is not defined in a way that cpp can handle. Here's the relevant portion of pth.h (configured and compiled on HPUX10.20):
Starting at Line 367 --> /* extension support */ #define PTH_EXT_SFIO FALSE /* Sfio extension support */ #if FALSE #include <sfio.h> #else typedef void *Sfdisc_t; #endif <-- end of quote In our environment, FALSE is defined as follows: typedef unsigned char BOOL; #define FALSE (BOOL)0 This results in a parse error of the C pre-processor at the statement '#if FALSE', which expands to '#if (BOOL)0' ... It would pobably be better if Pth would not rely on a sane external definition of TRUE and FALSE, and it IMHO is definitely not a good idea to use them in pre-processor conditional expressions. Thanks for taking the time to read this, and please let me know what you think about this (or what additional info you need). PS: sorry, habe erst jetzt gesehen, dass Du Deutsch sprichst :-) mit freundlichen Gruessen Patrik Staehli Student Informatik, ETH Zuerich zur Zeit im Praktikum bei der Siemens Schweiz AG http://www.pstaehli.ch ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]