Hi, noticed when I tried to use stdbool.h in one of my projects that it clashes with the direct/types.h definition of bool true/false. I think more and more developers will start using stdbool.h (and stdint.h) as it's now part of the latest gcc 3.3.x and 3.4.x versions (alas not well supported with Visual Studio compilers).
Anyway, the stdbool.h included with gcc has a #define __bool_true_false_are_defined flag. Would it make sense to test for this also (in addition to __cplusplus) before doing the typedef enum bool in types.h? Or something else that makes it possible to use stdbool.h? --Kent _______________________________________________ directfb-dev mailing list [email protected] http://www.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
