I'm a Mac user running the lastest Mac OSX (10.6.2).

When trying to build fltk on Snow Leopard using gcc 4.4.2, I get the error 
below. The error does not occur if I use gcc 4.2 supplied by Apple via Xcode. I 
hope to use gcc 4.4 so that I can build Octave and all its dependencies with 
the same version of gcc. I would like to use a consistent gcc version, as 
Octave's developers recently changed to using libtool. The result is that both 
the gcc 4.2 and 4.4 versions oflibstdc++.dylib are referenced by the binary. 
Running the app produces a crash (bus error).

Advice? (I'm not much of a c/c++ programmer).

TiA

NTRANT -I/usr/X11R6/include -I/sw/include -c Fl.cxx
In file included from Fl.cxx:1214:
Fl_mac.cxx:115:26: warning: multi-character character constant
Fl_mac.cxx:1073:26: warning: multi-character character constant
Fl_mac.cxx:1314:40: warning: multi-character character constant
Fl_mac.cxx:1637:45: warning: multi-character character constant
Fl_mac.cxx:1640:44: warning: multi-character character constant
Fl_mac.cxx:1643:45: warning: multi-character character constant
Fl_mac.cxx:1662:45: warning: multi-character character constant
Fl_mac.cxx:1665:44: warning: multi-character character constant
Fl_mac.cxx:1666:40: warning: multi-character character constant
Fl_mac.cxx:1670:45: warning: multi-character character constant
Fl_mac.cxx:1674:40: warning: multi-character character constant
Fl_mac.cxx:1677:42: warning: multi-character character constant
Fl_mac.cxx:1677:66: warning: multi-character character constant
In file included from 
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43,
                 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20,
                 from 
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                 from 
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from 
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                 from ../FL/mac.H:37,
                 from ../FL/x.H:41,
                 from Fl.cxx:35:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h:147: 
error: format string argument not a string type
Fl.cxx: In static member function 'static int Fl::handle(int, Fl_Window*)':
Fl.cxx:715: warning: suggest parentheses around '&&' within '||'
In file included from Fl.cxx:1214:
Fl_mac.cxx: In function 'void fl_open_display()':
Fl_mac.cxx:1349: warning: the address of 'OSStatus TransformProcessType(const 
ProcessSerialNumber*, ProcessApplicationTransformState)' will never be NULL


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to