> I'm trying to resurrect an FLTK app, cross compiled with 
> MINGW, the compiler is
> based on a newer version of GCC:  (4.4.2).  The newer 
> compiler barfs on
> Fl_JPEG_Image.cxx, line 158:
> 
>        dinfo.quantize_colors = (boolean)FALSE;
> 
> Which I believe should be:
> 
>        dinfo.quantize_colors = (bool) FALSE;
> 
> (or words to that effect).  Am I nuts?  Is my development 
> environment hosed?  Or
> should I file an STR?


The typedef "boolean" - and the macros for TRUE and FALSE - come from
the jpeg lib headers in this case.

I think they are usually in "jmorecfg.h" or one of those...

I'm not usre we can just insert the C++ bool here, as this is used to
"communicate" with the jpeg lib, so we probably need to ensure we use
the same types and values that they use.





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

Reply via email to