gcc issued lots of warnings if compiled with -Wundef. This shows access
to undefined preprocessor macros, particularly for config tests.
This update is similar, but not identical to fltk-cpp-fixes.patch as
posted on STR #2988 (file #1). There have been changes in the configure
script and the macros in configh.in and configh.cmake.in meanwhile.
This commit compiles with -Wundef w/o such warnings under Linux and
Windows (MinGW).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
First step towards a hopefully clean creation of FL/abi-version.h for all
Windows (Visual Studio) and maybe also Xcode projects (if necessary) in
order to "simulate" configure and CMake methods to create this file.
I could only modify the VisualC2008 and VisualC2010 project files, because
I don't have VisualC6 and/or Xcode. Help needed...
To do for remaining <ide> directories (ide/VisualC6 and maybe ide/Xcode4):
(1) Remove <ide>/FL folders including <ide>/FL/abi-version.h.
(2) Add a Pre-Build event or equivalent on project 'fltk' for all
potential build configurations (Debug, Release, ...)
(3) Maybe add project dependencies to ensure that the Pre-Build event
of project 'fltk' is executed before all other projects.
Notes:
(a) Command line for Pre-Build events of VS2008/2010:
"copy /Y $(SolutionDir)..\..\abi-version.ide $(SolutionDir)..\..\FL\abi-version.h"
Something similar should work for VC6 as well.
(b) While building the projects I found some wrong output settings in zlib
projects. These have been fixed in this commit as well (unrelated).
(c) .gitignore has been extended to ignore all intermediate build files
of VS2008/VS2010 ide projects.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121