fltk compilation error

Reid Thompson reid.thompson@ateb.com
Sun Aug 15 23:06:00 GMT 2004


I'm hoping someone can help me correct the issue causing the error 
listed below.  I've attached minimal files to reproduce the error.

Thanks,
reid

$ fltk-config --compile test.cxx
gcc -mwindows -DWIN32 -o test test.cxx -mwindows /usr/lib/libfltk.a 
-lole32 -luuid -lcomctl32 -lwsock32 -lsupc++
In file included from /usr/include/w32api/windef.h:246,
                  from /usr/include/w32api/windows.h:48,
                  from /usr/include/FL/Fl_Preferences.H:30,
                  from /usr/include/FL/Fl_File_Chooser.h:14,
                  from test.cxx:5:
/usr/include/w32api/winnt.h:2557: error: parse error before `+' token
In file included from /usr/include/w32api/objbase.h:60,
                  from /usr/include/w32api/ole2.h:9,
                  from /usr/include/w32api/windows.h:111,
                  from /usr/include/FL/Fl_Preferences.H:30,
                  from /usr/include/FL/Fl_File_Chooser.h:14,
                  from test.cxx:5:
/usr/include/w32api/objidl.h:924: error: parse error before `+' token
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.h
Type: text/x-h
Size: 350 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040815/17dd5a1d/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.cxx
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040815/17dd5a1d/attachment.cxx>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.fl
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040815/17dd5a1d/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list