I see that Manolo has said (elsewhere) that he thinks this is indeed the
test that fails for my PPC-32/10.4.11 test build at the command line...


> #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
> typedef long NSInteger;
> typedef unsigned long NSUInteger;
> #endif

So I simply "adjusted" the test to make sure that the typedef's always
happen in my test build.

That alleviates a whole pile of errors, but I still get...


Fl_cocoa.mm: In function 'flCocoaRegion* MacRegionMinusRect 
(flCocoaRegion*, int, int, int, int)':
Fl_cocoa.mm:2571: error: 'CGFloat' does not name a type
Fl_cocoa.mm:2572: error: 'verylarge' was not declared in this scope
Fl_cocoa.mm: In function 'void* MACMenuOrItemOperation(const  
char*, ...)':

And then later...

Fl_cocoa.mm: In function 'unsigned char* MACbitmapFromRectOfWindow 
(Fl_Window*, int, int, int, int, int*)':
Fl_cocoa.mm:3056: error: 'CGFloat' was not declared in this scope
Fl_cocoa.mm:3056: error: expected `;' before 'epsilon'
Fl_cocoa.mm:3057: error: 'epsilon' was not declared in this scope
Fl_cocoa.mm:3061: error: 'epsilon' was not declared in this scope
make[1]: *** [Fl.o] Error 1


Now how we can get to a state where CGFloat is undefined I do not know.

Have not had (probably will not have) time to investigate this, but it
looks very strange.

Also, I get a pile of warnings that probably need hunted down...

For example, a lot of these:

Fl_cocoa.mm:767: warning: enumeration value 'NSMouseExited' not handled
in switch
(etc...)
Fl_cocoa.mm:1127: warning: enumeration value 'NSLeftMouseUp' not handled
in switch
(etc...)

I guess simply adding a catchall "default:" option to these switches
(which they really ought to have anyway) will suppress a lot of that
stuff?





SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to