On 22.08.2011 21:26, Matthias Melcher wrote: > > How do I get rid of this one: > > NOTE: WINVER has been defined as 0x0500 or greater which enables > Windows NT 5.0 and Windows 98 features. When these headers were released, > Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. > For this release when WINVER is defined as 0x0500 or greater, you can only > build beta or test applications. To build a retail application, > set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk > to see if retail Windows NT 5.0 or Windows 98 headers are available. > See the SDK release notes for more information. > > I did a grep for all obvious values, but I could not find a configuration > setting for it.
I don't think that you can get rid of this warning if you build with VC 6. My assumption is that they result from the included header files and we could only avoid this by not defining WINVER to 0x0500, as said in the message above. However, this would result in degraded functionality, and we wouldn't want this. We could still do it depending on the macro _MSC_VER, but this would probably only make more trouble in the depending code. Personally I distinguish the VC6 build files from building with VC6: the *IDE files* are good and necessary for all VisualC++ tools up to (and not including) VC2008, but can also be used for testing with VC2008 (I'm doing this occasionally, or whenever there are error messages). *Building* with VC6 should probably not be supported officially, since we know of these problems, and VC6 can only be used for building with really old systems as a valid target - but this is no more supported by FLTK 1.3 and later because of missing UTF-8 support in the OS. Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
