DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2390
Version: 2.0-current


The following preprocessor directive is not supported by all compilers.
#warning

Specifically in files Window_fullscreen.cxx and Cursor.cxx this
preprocessor directive appears and prevents fltk 2.0 r7513 from compiling
on the compiler included in Visual Studio 2008.  I suspect it doesn't work
on other Visual Studio releases as the preprocessor directive is not
supported by any of the Microsoft compilers to my understanding.

To correct the problem the following preprocessor directive should be used
instead.
#pragma message

This pragma is accepted on nearly all compilers and for those that do not
support it the pragma is ignored and compilation is not halted when it is
encountered.  This is nature of all pragma directives of course.

The mentioned files had to be altered in order to allow compilation and
they have been attached to this report.


Link: http://www.fltk.org/str.php?L2390
Version: 2.0-current
Attachment: http://www.fltk.org/strfiles/2390/files.zip

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

Reply via email to