Ok, I found and fixed the problem: Bool is defined as an int with a
#define somewhere in the include files and it messes up with my own
macros. I have a temp fix that fixes the build on gcc w/ glx (it seems
Bool is defined there, I haven't investigated more than that but they
really should use typedefs instead of macro). Fetch the latest nui cvs
and tell me if it fixes your problem :).
Also you have to add some missing .cpp files to the makefiles. As I
don't know anything about the unix build system I couldn't do it my self
(I'm ashamed, yes...). The ones missing probably are un src/core,
src/utils, and src/widgets. Let me know what happens :).
Sebastien
Ilya A. Palopezhentsev wrote:
It seems the error comes from the fact that bool is not an internal type
for you compiler, not even a typedef but a #define... Vincent : can you
confirm that with this version of gcc the bool type is defined with
#define bool int ? I would find it wuite amazing but well...
I tried to place int there instead of bool, but other errors appeared. I guess
because of already used int type.
I can work
around it. Anyway, that's the only reasoning I could find for this
error. I'm going to commit a fix in the next few hours.
Please, if you succeed, notify about this to the list! I'm eager to try the
nui!
_______________________________________________
https://mail.gna.org/listinfo/ngl-devel