Hello,
when the c99 standard header <stdbool.h> is include, a conflict with gctypes occur.
It can be resolved with the followings changes :
// bool is a standard type in cplusplus, but not in c
#ifndef __cplusplus
/** C++ compatible bool for C
*/
typedef enum { false, true } bool;
#endif ...
Search found 1 match
- Fri Apr 24, 2009 9:53 am
- Forum: Gamecube/Wii Development
- Topic: bool conflict in gctype with c99
- Replies: 0
- Views: 4463