type clashes on Mac OS X
Brought to you by:
nigels
It seems that MacTypes.h:646 tries to redefine a type that has already been defined if <corefoundation cfbundle.h=""> is included.</corefoundation>
i don't know if a precompiler command like #if !defined(MACTYPES) could fix this. So the types won't be redefined again.
The error message:
error: multiple types in one declaration
error: declaration does not declare anything
The line causing the error:
typedef UInt8 Byte;
Logged In: NO
Sorry for my early post. it seems like
glui.h line 75 and following define the
byte type and is the reason for the clash.
ifndef Byte
define Byte unsigned char
endif
a simple #undef Byte directly after
include <glui glui.h=""> fixed this.</glui>
Thanks for the report.