e934dd5468
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
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
/*
|
|
* "$Id$"
|
|
*
|
|
* Configuration file for the Fast Light Tool Kit (FLTK).
|
|
*
|
|
* Copyright 1998-2016 by Bill Spitzak and others.
|
|
*
|
|
* This library is free software. Distribution and use rights are outlined in
|
|
* the file "COPYING" which should have been included with this file. If this
|
|
* file is missing or damaged, see the license at:
|
|
*
|
|
* http://www.fltk.org/COPYING.php
|
|
*
|
|
* Please report all bugs and problems on the following page:
|
|
*
|
|
* http://www.fltk.org/str.php
|
|
*/
|
|
|
|
/*
|
|
============================================================================
|
|
Edit with care! This source file (abi-version.ide) is used to
|
|
generate FL/abi-version.h by your IDE (Visual C++) build system !
|
|
----------------------------------------------------------------------------
|
|
If you need to change the ABI configuration, edit abi-version.ide
|
|
in the FLTK source (root) directory and "Rebuild Solution".
|
|
This will copy abi-version.ide to FL/abi-version.h.
|
|
DO NOT edit FL/abi-version.h directly !
|
|
----------------------------------------------------------------------------
|
|
See below for instructions how to edit abi-version.ide.
|
|
The default ABI version (#undef FL_ABI_VERSION) is 1.x.0 (1xx00).
|
|
============================================================================
|
|
*/
|
|
/*
|
|
Define FL_ABI_VERSION as 1xxyy for FLTK ABI version 1.x.y.
|
|
Use leading zeroes in xx and yy - don't use a leading zero for
|
|
the major version number (currently 1).
|
|
Replace the line below (#undef FL_ABI_VERSION) with your definition.
|
|
|
|
Example:
|
|
|
|
#define FL_ABI_VERSION 10302
|
|
*/
|
|
|
|
#undef FL_ABI_VERSION
|
|
|
|
/*
|
|
* End of "$Id$".
|
|
*/
|