> Please try this patch instead: No, that does not work. I just get:
=== making src === Compiling Fl.cxx... In file included from Fl.cxx:1709: Fl_win32.cxx:754: error: `VK_BROWSER_BACK' was not declared in this scope Fl_win32.cxx:755: error: `VK_BROWSER_FORWARD' was not declared in this scope Fl_win32.cxx:756: error: `VK_BROWSER_REFRESH' was not declared in this scope Fl_win32.cxx:757: error: `VK_BROWSER_STOP' was not declared in this scope Fl_win32.cxx:758: error: `VK_BROWSER_SEARCH' was not declared in this scope Fl_win32.cxx:759: error: `VK_BROWSER_FAVORITES' was not declared in this scope Fl_win32.cxx:760: error: `VK_BROWSER_HOME' was not declared in this scope Fl_win32.cxx:761: error: `VK_VOLUME_MUTE' was not declared in this scope Fl_win32.cxx:762: error: `VK_VOLUME_DOWN' was not declared in this scope Fl_win32.cxx:763: error: `VK_VOLUME_UP' was not declared in this scope Fl_win32.cxx:764: error: `VK_MEDIA_NEXT_TRACK' was not declared in this scope Fl_win32.cxx:765: error: `VK_MEDIA_PREV_TRACK' was not declared in this scope Fl_win32.cxx:766: error: `VK_MEDIA_STOP' was not declared in this scope Fl_win32.cxx:767: error: `VK_MEDIA_PLAY_PAUSE' was not declared in this scope Fl_win32.cxx:768: error: `VK_LAUNCH_MAIL' was not declared in this scope make[1]: *** [Fl.o] Error 1 make: *** [all] Error 1 So, I still think the problem is that we set/change the value of WINVER *after* we have already included <FL/Fl.H> because if --enable-cairo is set, that (indirectly, via nested includes in the cairo headers) includes windows.h. So subsequent attempts to include windows.h with a different value of WINVER set fail, since the ifdef include guards are already set... So we need to set the vale of WINVER *before* we included <FL/Fl.H> or it will not work. I could be missing the point, of course... Note: this thing about redefining WINVER, even if it is set already, without undefing it; I have seen that in a lot of windows headers, and it always looks odd, but it appears to be "acceptable" to the windows compilers. I do not know... 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-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
