>
> On 09.02.2010, at 09:46, SebHoll wrote:
>
> > Hi guys,
> >=20
> > Someone has just reported that FL_Image.h isn't compiling on 10.3 - it =
> doesn't like the id( 0) in the FL_RGB_Image constructor. 'id' means =
> 'object' in object C, and FL_Image.h is being included by Fl_x.cxx which =
> is being compiled using the XCode ObjectiveC compiler.
> >=20
> > Strangely, it compiles fine on 10.4 or 10.5 though.
> >=20
> > Any help would be greatly appreciated (I'm compiling againt rev 6980),
>
> Hmm. I can't really solve this. You could downgrade to 1.1.10. IIRC, =
> id() is a public interface which would be very confusing to rename. =
> IMHO, cocoa.mm should be compiled seperately anyways, not as part of a =
> cxx file.

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.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to