Hi Ilya,

I have tested the current nui with gcc 3.3 under OSX but not under linux yet. Vincent already mentionned this error sometime ago so I'm going to try to fix it asap. It seems something is going wrong in my macro definition for some reason I don't understand. (the macros are quite hacky, sometime C++ limitations make me do some horrible stunts :-( ).

If you happen to find a fix for this you're welcome. I'm going to look at it anyway.

Thanks for the report ;).

Sebastien



Ilya A. Palopezhentsev wrote:

Hello!
I've tried to test and compile nui and here's what I get:
(I have ngl installed and functional)
(system: Mandrake Linux 10.0, gcc 3.3.2)

In file included from ../include/nuiObject.h:27,
                from ../include/nuiWidget.h:23,
                from ../include/nuiContainer.h:23,
                from ../include/nuiAnimation.h:25,
                from core/nuiAnimation.cpp:21:
../include/nuiAutomation.h: In member function `void nuiParameter::Set(const bool&)': ../include/nuiAutomation.h:223: error: 'union nuiParameter::Integral_tag' has no member named 'mint' ../include/nuiAutomation.h: In member function `bool nuiParameter::Getint() const': ../include/nuiAutomation.h:223: error: 'const union nuiParameter::Integral_tag' has no member named 'mint' ../include/nuiAutomation.h: In member function `void nuiParameter::Get(bool&) const': ../include/nuiAutomation.h:223: error: 'const union nuiParameter::Integral_tag' has no member named 'mint' ../include/nuiAutomation.h: In member function `nuiParameter::operator bool&()': ../include/nuiAutomation.h:223: error: 'union nuiParameter::Integral_tag' has no member named 'mint' core/nuiAnimation.cpp: In static member function `static bool nuiAnimation::CallVerb_nuiAnimation(nuiAnimation*, const nglString&, nuiAutomatable::Operation, nuiParamVector&, nuiVerbDictionary*)':
core/nuiAnimation.cpp:431: warning: statement with no effect
core/nuiAnimation.cpp:431: warning: statement with no effect
core/nuiAnimation.cpp:431: warning: statement with no effect
make[2]: *** [core/nuiAnimation.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

_______________________________________________
https://mail.gna.org/listinfo/ngl-devel


Reply via email to