> manolo gouy wrote:
> >> On 09.02.2010, at 09:46, SebHoll wrote:
> > I just rechecked FLTK-1.3 compilation under Mac OS X 10.3.9 and have it
> > running OK. But you must compile in objective-c++ only files
> > that need it, which are src/Fl.cxx and src/Fl_Native_File_Chooser.cxx,
> > all others should be compiled in c++. But that's what the Xcode
> > project and the makefiles do.
>
>       You might want to check STR#2315; the default build of 1.3.x
>       chokes on my PPC/Tiger box with g++ 3.3 enabled (instead of 4.0).
Thanks Greg, now I see the point: gcc 3.3
I have fixed it in the svn with this, in file src/Fl_cocoa.mm :
#if __GNUC__ == 3 // because Fl_Image.H uses a private variable name id that's 
illegal under GCC 3
#define id id_
#endif
#include <FL/Fl_Sys_Menu_Bar.H>
#ifdef id
#undef id
#endif


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

Reply via email to