Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68201 - in trunk: boost/config boost/config/compiler boost/config/platform boost/config/stdlib boost/detail libs/config/doc libs/config/doc/html libs/config/doc/html/boost_config libs/config/test
From: steven_at_[hidden]
Date: 2011-01-16 23:52:02


Author: steven_watanabe
Date: 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
New Revision: 68201
URL: http://svn.boost.org/trac/boost/changeset/68201

Log:
Revert addition of BOOST_NIX, etc and everything tied to it. ([66696], [66783], [66804], [66833], and [66834])
Removed:
   trunk/libs/config/test/boost_no_fenv_h.ipp
   trunk/libs/config/test/no_fenv_h_fail.cpp
   trunk/libs/config/test/no_fenv_h_pass.cpp
Text files modified:
   trunk/boost/config/compiler/borland.hpp | 3 -
   trunk/boost/config/compiler/comeau.hpp | 2
   trunk/boost/config/compiler/gcc.hpp | 1
   trunk/boost/config/compiler/metrowerks.hpp | 2
   trunk/boost/config/compiler/sunpro_cc.hpp | 4 -
   trunk/boost/config/compiler/visualc.hpp | 3 -
   trunk/boost/config/platform/aix.hpp | 8 ---
   trunk/boost/config/platform/amigaos.hpp | 3 -
   trunk/boost/config/platform/beos.hpp | 8 ---
   trunk/boost/config/platform/bsd.hpp | 25 ++--------
   trunk/boost/config/platform/cygwin.hpp | 66 +++++++++++++---------------
   trunk/boost/config/platform/hpux.hpp | 8 ---
   trunk/boost/config/platform/irix.hpp | 6 --
   trunk/boost/config/platform/linux.hpp | 8 ---
   trunk/boost/config/platform/macos.hpp | 6 --
   trunk/boost/config/platform/qnxnto.hpp | 8 ---
   trunk/boost/config/platform/solaris.hpp | 6 --
   trunk/boost/config/platform/symbian.hpp | 10 +---
   trunk/boost/config/platform/vxworks.hpp | 6 --
   trunk/boost/config/platform/win32.hpp | 1
   trunk/boost/config/stdlib/libstdcpp3.hpp | 15 ++----
   trunk/boost/config/stdlib/sgi.hpp | 11 +---
   trunk/boost/config/stdlib/stlport.hpp | 11 +---
   trunk/boost/config/stdlib/vacpp.hpp | 11 +---
   trunk/boost/config/suffix.hpp | 4 -
   trunk/boost/detail/fenv.hpp | 2
   trunk/libs/config/doc/html/boost_config/boost_macro_reference.html | 90 ----------------------------------------
   trunk/libs/config/doc/html/index.html | 4
   trunk/libs/config/doc/macro_reference.qbk | 30 ++-----------
   29 files changed, 67 insertions(+), 295 deletions(-)

Modified: trunk/boost/config/compiler/borland.hpp
==============================================================================
--- trunk/boost/config/compiler/borland.hpp (original)
+++ trunk/boost/config/compiler/borland.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -12,9 +12,6 @@
 //
 // versions check:
 // we don't support Borland prior to version 5.4:
-
-#define BOOST_BORLAND __BORLANDC__
-
 #if __BORLANDC__ < 0x540
 # error "Compiler not supported or configured - please reconfigure"
 #endif

Modified: trunk/boost/config/compiler/comeau.hpp
==============================================================================
--- trunk/boost/config/compiler/comeau.hpp (original)
+++ trunk/boost/config/compiler/comeau.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -14,8 +14,6 @@
 
 #include "boost/config/compiler/common_edg.hpp"
 
-#define BOOST_COMO __COMO_VERSION__
-
 #if (__COMO_VERSION__ <= 4245)
 
 # if defined(_MSC_VER) && _MSC_VER <= 1300

Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp (original)
+++ trunk/boost/config/compiler/gcc.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -89,6 +89,7 @@
 # define BOOST_NO_EXCEPTIONS
 #endif
 
+
 //
 // Threading support: Turn this on unconditionally here (except for
 // those platforms where we can know for sure). It will get turned off again

Modified: trunk/boost/config/compiler/metrowerks.hpp
==============================================================================
--- trunk/boost/config/compiler/metrowerks.hpp (original)
+++ trunk/boost/config/compiler/metrowerks.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -12,8 +12,6 @@
 
 // Metrowerks C++ compiler setup:
 
-#define BOOST_MWERKS __MWERKS__
-
 // locale support is disabled when linking with the dynamic runtime
 # ifdef _MSL_NO_LOCALE
 # define BOOST_NO_STD_LOCALE

Modified: trunk/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- trunk/boost/config/compiler/sunpro_cc.hpp (original)
+++ trunk/boost/config/compiler/sunpro_cc.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -11,10 +11,6 @@
 
 // Sun C++ compiler setup:
 
-// Macro identifying the Sun compiler
-
-#define BOOST_SUNCC __SUNPRO_CC
-
 # if __SUNPRO_CC <= 0x500
 # define BOOST_NO_MEMBER_TEMPLATES
 # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -37,9 +37,6 @@
    //
 #endif
 
-/// Visual Studio has no fenv.h
-#define BOOST_NO_FENV_H
-
 #if (_MSC_VER <= 1300) // 1300 == VC++ 7.0
 
 # if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za

Modified: trunk/boost/config/platform/aix.hpp
==============================================================================
--- trunk/boost/config/platform/aix.hpp (original)
+++ trunk/boost/config/platform/aix.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,5 +1,4 @@
 // (C) Copyright John Maddock 2001 - 2002.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -10,13 +9,6 @@
 
 #define BOOST_PLATFORM "IBM Aix"
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
-#define BOOST_AIX 1
-
 #define BOOST_HAS_UNISTD_H
 #define BOOST_HAS_NL_TYPES_H
 #define BOOST_HAS_NANOSLEEP

Modified: trunk/boost/config/platform/amigaos.hpp
==============================================================================
--- trunk/boost/config/platform/amigaos.hpp (original)
+++ trunk/boost/config/platform/amigaos.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,5 +1,4 @@
 // (C) Copyright John Maddock 2002.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -8,8 +7,6 @@
 
 #define BOOST_PLATFORM "AmigaOS"
 
-#define BOOST_AMIGA 1
-
 #define BOOST_DISABLE_THREADS
 #define BOOST_NO_CWCHAR
 #define BOOST_NO_STD_WSTRING

Modified: trunk/boost/config/platform/beos.hpp
==============================================================================
--- trunk/boost/config/platform/beos.hpp (original)
+++ trunk/boost/config/platform/beos.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,5 +1,4 @@
 // (C) Copyright John Maddock 2001.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -10,13 +9,6 @@
 
 #define BOOST_PLATFORM "BeOS"
 
-#define BOOST_BEOS 1
-
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-//#define BOOST_TRADEMARK_NIX 1
-#define BOOST_FUNCTIONAL_NIX 1
-
 #define BOOST_NO_CWCHAR
 #define BOOST_NO_CWCTYPE
 #define BOOST_HAS_UNISTD_H

Modified: trunk/boost/config/platform/bsd.hpp
==============================================================================
--- trunk/boost/config/platform/bsd.hpp (original)
+++ trunk/boost/config/platform/bsd.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,7 +1,6 @@
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Darin Adler 2001.
 // (C) Copyright Douglas Gregor 2002.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -10,30 +9,18 @@
 
 // generic BSD config options:
 
-#if !defined(__FreeBSD__) && \
- !defined(__NetBSD__) && \
- !defined(__OpenBSD__) && \
- !defined(__DragonFly__)
- #error "This platform is not BSD"
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+#error "This platform is not BSD"
 #endif
 
-#define BOOST_NIX 1
-#define BOOST_GENETIC_NIX 1
-//#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 #ifdef __FreeBSD__
- #define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
- #define BOOST_FREEBSD __FreeBSD__
+#define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
 #elif defined(__NetBSD__)
- #define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
- #define BOOST_NETBSD __NetBSD__
+#define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
 #elif defined(__OpenBSD__)
- #define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
- #define BOOST_OPENBSD __OpenBSD__
+#define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
 #elif defined(__DragonFly__)
- #define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
- #define BOOST_DFBSD __DragonFly__
+#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
 #endif
 
 //

Modified: trunk/boost/config/platform/cygwin.hpp
==============================================================================
--- trunk/boost/config/platform/cygwin.hpp (original)
+++ trunk/boost/config/platform/cygwin.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,56 +1,52 @@
-// (C) Copyright John Maddock 2001 - 2003
-// (C) Copyright Bryce Lelbach 2010
-//
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org for most recent version.
+// (C) Copyright John Maddock 2001 - 2003.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org for most recent version.
 
-#define BOOST_PLATFORM "Cygwin" // Platform name.
-#define BOOST_CYGWIN __CYGWIN__ // Boost platform ID macros.
+// cygwin specific config options:
 
+#define BOOST_PLATFORM "Cygwin"
 #define BOOST_HAS_DIRENT_H
 #define BOOST_HAS_LOG1P
 #define BOOST_HAS_EXPM1
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-//#define BOOST_TRADEMARK_NIX 1
-#define BOOST_FUNCTIONAL_NIX 1
-
-// See if we have POSIX threads, otherwise revert to native Win threads.
+//
+// Threading API:
+// See if we have POSIX threads, if we do use them, otherwise
+// revert to native Win threads.
 #define BOOST_HAS_UNISTD_H
 #include <unistd.h>
-
-#if defined(_POSIX_THREADS) && (_POSIX_THREADS + 0 >= 0) && \
- !defined(BOOST_HAS_WINTHREADS)
- #define BOOST_HAS_PTHREADS
- #define BOOST_HAS_SCHED_YIELD
- #define BOOST_HAS_GETTIMEOFDAY
- #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
- #define BOOST_HAS_SIGACTION
+#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
+# define BOOST_HAS_PTHREADS
+# define BOOST_HAS_SCHED_YIELD
+# define BOOST_HAS_GETTIMEOFDAY
+# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
+# define BOOST_HAS_SIGACTION
 #else
- #if !defined(BOOST_HAS_WINTHREADS)
- #define BOOST_HAS_WINTHREADS
- #endif
- #define BOOST_HAS_FTIME
+# if !defined(BOOST_HAS_WINTHREADS)
+# define BOOST_HAS_WINTHREADS
+# endif
+# define BOOST_HAS_FTIME
 #endif
 
-// Find out if we have a stdint.h, there should be a better way to do this.
+//
+// find out if we have a stdint.h, there should be a better way to do this:
+//
 #include <sys/types.h>
-
 #ifdef _STDINT_H
- #define BOOST_HAS_STDINT_H
+#define BOOST_HAS_STDINT_H
 #endif
 
-/// Cygwin has no fenv.h
-#define BOOST_NO_FENV_H
-
+// boilerplate code:
 #include <boost/config/posix_features.hpp>
 
-// Cygwin lies about XSI conformance, there is no nl_types.h.
+//
+// Cygwin lies about XSI conformance, there is no nl_types.h:
+//
 #ifdef BOOST_HAS_NL_TYPES_H
- #undef BOOST_HAS_NL_TYPES_H
+# undef BOOST_HAS_NL_TYPES_H
 #endif
  
 

Modified: trunk/boost/config/platform/hpux.hpp
==============================================================================
--- trunk/boost/config/platform/hpux.hpp (original)
+++ trunk/boost/config/platform/hpux.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -3,7 +3,6 @@
 // (C) Copyright David Abrahams 2002.
 // (C) Copyright Toon Knapen 2003.
 // (C) Copyright Boris Gubenko 2006 - 2007.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -14,13 +13,6 @@
 
 #define BOOST_PLATFORM "HP-UX"
 
-#define BOOST_HPUX 1 // platform ID macro
-
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
 // However, it has the following problem:
 // Use of UINT32_C(0) results in "0u l" for the preprocessed source

Modified: trunk/boost/config/platform/irix.hpp
==============================================================================
--- trunk/boost/config/platform/irix.hpp (original)
+++ trunk/boost/config/platform/irix.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,6 +1,5 @@
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Jens Maurer 2003.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -12,11 +11,6 @@
 
 #define BOOST_PLATFORM "SGI Irix"
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 #define BOOST_NO_SWPRINTF
 //
 // these are not auto detected by POSIX feature tests:

Modified: trunk/boost/config/platform/linux.hpp
==============================================================================
--- trunk/boost/config/platform/linux.hpp (original)
+++ trunk/boost/config/platform/linux.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,6 +1,5 @@
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Jens Maurer 2001 - 2003.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -14,13 +13,6 @@
 // make sure we have __GLIBC_PREREQ if available at all
 #include <cstdlib>
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-//#define BOOST_TRADEMARK_NIX 1
-#define BOOST_FUNCTIONAL_NIX 1
-
-#define BOOST_LINUX 1
-
 //
 // <stdint.h> added to glibc 2.1.1
 // We can only test for 2.1 though:

Modified: trunk/boost/config/platform/macos.hpp
==============================================================================
--- trunk/boost/config/platform/macos.hpp (original)
+++ trunk/boost/config/platform/macos.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,7 +1,6 @@
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Darin Adler 2001 - 2002.
 // (C) Copyright Bill Kempf 2002.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -14,11 +13,6 @@
 
 #if __MACH__ && !defined(_MSL_USING_MSL_C)
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 // Using the Mac OS X system BSD-style C library.
 
 # ifndef BOOST_HAS_UNISTD_H

Modified: trunk/boost/config/platform/qnxnto.hpp
==============================================================================
--- trunk/boost/config/platform/qnxnto.hpp (original)
+++ trunk/boost/config/platform/qnxnto.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,5 +1,4 @@
 // (C) Copyright Jim Douglas 2005.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -8,15 +7,8 @@
 
 // QNX specific config options:
 
-#define BOOST_QNX 1
-
 #define BOOST_PLATFORM "QNX"
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-//#define BOOST_TRADEMARK_NIX 1
-#define BOOST_FUNCTIONAL_NIX 1
-
 #define BOOST_HAS_UNISTD_H
 #include <boost/config/posix_features.hpp>
 

Modified: trunk/boost/config/platform/solaris.hpp
==============================================================================
--- trunk/boost/config/platform/solaris.hpp (original)
+++ trunk/boost/config/platform/solaris.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,6 +1,5 @@
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Jens Maurer 2003.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -11,11 +10,6 @@
 
 #define BOOST_PLATFORM "Sun Solaris"
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 #define BOOST_HAS_GETTIMEOFDAY
 
 // boilerplate code:

Modified: trunk/boost/config/platform/symbian.hpp
==============================================================================
--- trunk/boost/config/platform/symbian.hpp (original)
+++ trunk/boost/config/platform/symbian.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,7 +1,6 @@
 // (C) Copyright Yuriy Krasnoschek 2009.
 // (C) Copyright John Maddock 2001 - 2003.
 // (C) Copyright Jens Maurer 2001 - 2003.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -10,16 +9,13 @@
 
 // symbian specific config options:
 
+
 #define BOOST_PLATFORM "Symbian"
 #define BOOST_SYMBIAN 1
 
+
 #if defined(__S60_3X__)
-// Open C / C++ plugin was introdused in this SDK, earlier versions don't have
-// CRT / STL
-# define BOOST_NIX 1
-//# define BOOST_GENETIC_NIX 1
-//# define BOOST_TRADEMARK_NIX 1
-# define BOOST_FUNCTIONAL_NIX 1
+// Open C / C++ plugin was introdused in this SDK, earlier versions don't have CRT / STL
 # define BOOST_S60_3rd_EDITION_FP2_OR_LATER_SDK
 // make sure we have __GLIBC_PREREQ if available at all
 # include <cstdlib>

Modified: trunk/boost/config/platform/vxworks.hpp
==============================================================================
--- trunk/boost/config/platform/vxworks.hpp (original)
+++ trunk/boost/config/platform/vxworks.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -1,5 +1,4 @@
 // (C) Copyright Dustin Spicuzza 2009.
-// (C) Copyright Bryce Lelbach 2010
 // Use, modification and distribution are subject to the
 // Boost Software License, Version 1.0. (See accompanying file
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -24,11 +23,6 @@
 #define _POSIX_TIMERS 1
 #define _POSIX_THREADS 1
 
-#define BOOST_NIX 1
-//#define BOOST_GENETIC_NIX 1
-#define BOOST_TRADEMARK_NIX 1
-//#define BOOST_FUNCTIONAL_NIX 1
-
 // vxworks doesn't work with asio serial ports
 #define BOOST_ASIO_DISABLE_SERIAL_PORT
 

Modified: trunk/boost/config/platform/win32.hpp
==============================================================================
--- trunk/boost/config/platform/win32.hpp (original)
+++ trunk/boost/config/platform/win32.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -31,6 +31,7 @@
 # define BOOST_SYMBOL_IMPORT __declspec(dllimport)
 #endif
 
+
 #if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
 # define BOOST_HAS_STDINT_H
 # define __STDC_LIMIT_MACROS

Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -56,6 +56,11 @@
 # define BOOST_HAS_THREADS
 #endif
 
+#if !defined(CYGWIN)
+# include <unistd.h>
+# define BOOST_HAS_FENV_H
+#endif
+
 #if !defined(_GLIBCPP_USE_LONG_LONG) \
     && !defined(_GLIBCXX_USE_LONG_LONG)\
     && defined(BOOST_HAS_LONG_LONG)
@@ -64,16 +69,6 @@
 # undef BOOST_HAS_LONG_LONG
 #endif
 
-// Apple doesn't seem to reliably defined a *unix* macro
-#if !defined(CYGWIN) && ( defined(__unix__) \
- || defined(__unix) \
- || defined(unix) \
- || defined(__APPLE__) \
- || defined(__APPLE) \
- || defined(APPLE))
-# include <unistd.h>
-#endif
-
 #if defined(__GLIBCXX__) || (defined(__GLIBCPP__) && __GLIBCPP__>=20020514) // GCC >= 3.1.0
 # define BOOST_STD_EXTENSION_NAMESPACE __gnu_cxx
 # define BOOST_HAS_SLIST

Modified: trunk/boost/config/stdlib/sgi.hpp
==============================================================================
--- trunk/boost/config/stdlib/sgi.hpp (original)
+++ trunk/boost/config/stdlib/sgi.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -40,14 +40,11 @@
 # define BOOST_NO_STRINGSTREAM
 #endif
 
-// Apple doesn't seem to reliably defined a *unix* macro
-#if !defined(CYGWIN) && ( defined(__unix__) \
- || defined(__unix) \
- || defined(unix) \
- || defined(__APPLE__) \
- || defined(__APPLE) \
- || defined(APPLE))
+#if !defined(CYGWIN) && (defined(unix) || defined(__unix) || defined(__unix__))
 # include <unistd.h>
+# if defined(_POSIX_VERSION) || defined(_XOPEN_VERSION)
+# define BOOST_HAS_FENV_H
+# endif
 #endif
 
 

Modified: trunk/boost/config/stdlib/stlport.hpp
==============================================================================
--- trunk/boost/config/stdlib/stlport.hpp (original)
+++ trunk/boost/config/stdlib/stlport.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -16,14 +16,11 @@
 # endif
 #endif
 
-// Apple doesn't seem to reliably defined a *unix* macro
-#if !defined(CYGWIN) && ( defined(__unix__) \
- || defined(__unix) \
- || defined(unix) \
- || defined(__APPLE__) \
- || defined(__APPLE) \
- || defined(APPLE))
+#if !defined(CYGWIN) && (defined(unix) || defined(__unix) || defined(__unix__))
 # include <unistd.h>
+# if defined(_POSIX_VERSION) || defined(_XOPEN_VERSION)
+# define BOOST_HAS_FENV_H
+# endif
 #endif
 
 //

Modified: trunk/boost/config/stdlib/vacpp.hpp
==============================================================================
--- trunk/boost/config/stdlib/vacpp.hpp (original)
+++ trunk/boost/config/stdlib/vacpp.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -12,14 +12,11 @@
 #define BOOST_HAS_MACRO_USE_FACET
 #define BOOST_NO_STD_MESSAGES
 
-// Apple doesn't seem to reliably defined a *unix* macro
-#if !defined(CYGWIN) && ( defined(__unix__) \
- || defined(__unix) \
- || defined(unix) \
- || defined(__APPLE__) \
- || defined(__APPLE) \
- || defined(APPLE))
+#if !defined(CYGWIN) && (defined(unix) || defined(__unix) || defined(__unix__))
 # include <unistd.h>
+# if defined(_POSIX_VERSION) || defined(_XOPEN_VERSION)
+# define BOOST_HAS_FENV_H
+# endif
 #endif
 
 // C++0x headers not yet implemented

Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -639,10 +639,6 @@
 # if defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) \
          || defined(_POSIX_SOURCE)
 # define BOOST_PLATFORM "Generic Unix"
-# define BOOST_NIX 1
-//# define BOOST_GENETIC_NIX 1
-//# define BOOST_TRADEMARK_NIX 1
-# define BOOST_FUNCTIONAL_NIX 1
 # else
 # define BOOST_PLATFORM "Unknown"
 # endif

Modified: trunk/boost/detail/fenv.hpp
==============================================================================
--- trunk/boost/detail/fenv.hpp (original)
+++ trunk/boost/detail/fenv.hpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -7,7 +7,7 @@
 
 #include <boost/config.hpp>
 
-#if defined(BOOST_NO_FENV_H)
+#if !defined(BOOST_HAS_FENV_H)
   #error This platform does not have a floating point environment
 #endif
 

Modified: trunk/libs/config/doc/html/boost_config/boost_macro_reference.html
==============================================================================
--- trunk/libs/config/doc/html/boost_config/boost_macro_reference.html (original)
+++ trunk/libs/config/doc/html/boost_config/boost_macro_reference.html 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -3483,96 +3483,6 @@
 <tr>
 <td>
                 <p>
- <code class="computeroutput"><span class="identifier">BOOST_LINUX</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
- </p>
- </td>
-<td>
- <p>
- Defined if the system kernel is Linux
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">BOOST_NIX</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
- </p>
- </td>
-<td>
- <p>
- Defined if the system is POSIX compliant
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">BOOST_GENETIC_NIX</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
- </p>
- </td>
-<td>
- <p>
- Defined if the system can trace its ancestry to the original AT&amp;T
- codebase or designs, but is not certified by the Open Group. This
- is the case for modern open-source BSD systems.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">BOOST_TRADEMARK_NIX</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
- </p>
- </td>
-<td>
- <p>
- Systems certified as POSIX compliant by the Open Group. These systems
- can use the UNIX trademark. Most commercially developed *nix systems
- fall into this category.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
- <code class="computeroutput"><span class="identifier">BOOST_FUNCTIONAL_NIX</span></code>
- </p>
- </td>
-<td>
- <p>
- <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
- </p>
- </td>
-<td>
- <p>
- Systems which behave in a manner roughly consistent with POSIX
- standards. Linux and Minix fall into this category.
- </p>
- </td>
-</tr>
-<tr>
-<td>
- <p>
                   <code class="computeroutput"><span class="identifier">BOOST_DINKUMWARE_STDLIB</span></code>
                 </p>
               </td>

Modified: trunk/libs/config/doc/html/index.html
==============================================================================
--- trunk/libs/config/doc/html/index.html (original)
+++ trunk/libs/config/doc/html/index.html 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -28,7 +28,7 @@
 </h3></div></div></div>
 <div><p class="copyright">Copyright &#169; 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
 <div><div class="legalnotice">
-<a name="id896648"></a><p>
+<a name="id663915"></a><p>
         Distributed under the Boost Software License, Version 1.0. (See accompanying
         file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       </p>
@@ -950,7 +950,7 @@
 </div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: November 25, 2010 at 10:30:55 GMT</small></p></td>
+<td align="left"><p><small>Last revised: November 23, 2010 at 03:21:20 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: trunk/libs/config/doc/macro_reference.qbk
==============================================================================
--- trunk/libs/config/doc/macro_reference.qbk (original)
+++ trunk/libs/config/doc/macro_reference.qbk 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
@@ -71,11 +71,6 @@
 [[`BOOST_NO_CWCTYPE`][Platform][
 The Platform does not provide `<wctype.h>` and `<cwctype>`.
 ]]
-[[`BOOST_NO_FENV_H`][Platform, Standard library][
-The C standard library doesn't provide `<fenv.h>`. [@../../../../boost/detail/fenv.hpp
-`<boost/detail/fenv.hpp>`] should be included instead of `<fenv.h>` for maximum
-portability on platforms which do provide `<fenv.h>`.
-]]
 [[`BOOST_NO_DEPENDENT_NESTED_DERIVATIONS`][Compiler][
 The compiler fails to compile a nested class that has a dependent base class:
 ``
@@ -404,6 +399,11 @@
 [[`BOOST_HAS_SGI_TYPE_TRAITS`][Compiler, Standard library][
 The compiler has native support for SGI style type traits.
 ]]
+[[`BOOST_HAS_FENV_H`][Platform, Standard library][
+The platform has a `<fenv.h>`. [@../../../../boost/detail/fenv.hpp
+`<boost/detail/fenv.hpp>`] should be included instead of `<fenv.h>` for maximum
+portability.
+]]
 [[`BOOST_HAS_STDINT_H`][Platform][
 The platform has a `<stdint.h>`
 ]]
@@ -882,26 +882,6 @@
 [[`BOOST_WINDOWS`][`<boost/config.hpp>`][
 Defined if the Windows platfrom API is available.
 ]]
-[[`BOOST_LINUX`][`<boost/config.hpp>`][
-Defined if the system kernel is Linux
-]]
-[[`BOOST_NIX`][`<boost/config.hpp>`][
-Defined if the system is POSIX compliant
-]]
-[[`BOOST_GENETIC_NIX`][`<boost/config.hpp>`][
-Defined if the system can trace its ancestry to the original AT&T codebase or
-designs, but is not certified by the Open Group. This is the case for modern
-open-source BSD systems.
-]]
-[[`BOOST_TRADEMARK_NIX`][`<boost/config.hpp>`][
-Systems certified as POSIX compliant by the Open Group. These systems can use
-the UNIX trademark. Most commercially developed *nix systems fall into this
-category.
-]]
-[[`BOOST_FUNCTIONAL_NIX`][`<boost/config.hpp>`][
-Systems which behave in a manner roughly consistent with POSIX standards. Linux
-and Minix fall into this category.
-]]
 [[`BOOST_DINKUMWARE_STDLIB`][`<boost/config.hpp>`][
 Defined if the dinkumware standard library is in use, takes the same value
 as the Dinkumware library version macro `_CPPLIB_VER` if defined, otherwise 1.

Deleted: trunk/libs/config/test/boost_no_fenv_h.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_fenv_h.ipp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
+++ (empty file)
@@ -1,78 +0,0 @@
-// (C) Copyright John Maddock 2001.
-// (C) Copyright Bryce Lelbach 2010.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/libs/config for most recent version.
-
-// MACRO: BOOST_NO_FENV_H
-// TITLE: fenv.h
-// DESCRIPTION: There is no POSIX <fenv.h> available. If <fenv.h> is
-// available, <boost/detail/fenv.hpp> should be included
-// instead of directly including <fenv.h>.
-
-#include <boost/detail/fenv.hpp>
-
-namespace boost_no_fenv_h {
-
-int test()
-{
- /// POSIX required typedefs
- typedef ::fenv_t has_fenv_t;
- typedef ::fexcept_t has_fexcept_t;
-
- /// POSIX required macros
- #if !defined(FE_DIVBYZERO)
- #error platform does not define FE_DIVBYZERO
- #endif
-
- #if !defined(FE_INEXACT)
- #error platform does not define FE_INEXACT
- #endif
-
- #if !defined(FE_INVALID)
- #error platform does not define FE_INVALID
- #endif
-
- #if !defined(FE_OVERFLOW)
- #error platform does not define FE_OVERFLOW
- #endif
-
- #if !defined(FE_UNDERFLOW)
- #error platform does not define FE_UNDERFLOW
- #endif
-
- #if !defined(FE_DOWNWARD)
- #error platform does not define FE_DOWNWARD
- #endif
-
- #if !defined(FE_TONEAREST)
- #error platform does not define FE_TONEAREST
- #endif
-
- #if !defined(FE_UPWARD)
- #error platform does not define FE_UPWARD
- #endif
-
- #if !defined(FE_DFL_ENV)
- #error platform does not define FE_DFL_ENV
- #endif
-
- int (*has_feclearexcept)(int) = ::feclearexcept;
- int (*has_fegetenv)(fenv_t*) = ::fegetenv;
- int (*has_fegetexcept)(fexcept_t*, int) = ::fegetexcept;
- int (*has_fegetround)(void) = ::fegetround;
- int (*has_feholdexcept)(fenv_t*) = ::feholdexcept;
- int (*has_feraiseexcept)(int) = ::feraiseexcept;
- int (*has_fesetenv)(const fenv_t*) = ::fesetenv;
- int (*has_fesetexceptflag)(const fexcept_t*, int) = ::fesetexceptflag;
- int (*has_fesetround)(int) = ::fesetround;
- int (*has_fetestexcept)(int) = ::fetestexcept;
- int (*has_feupdateenv)(const fenv_t*) = ::feupdateenv;
-
- return 0;
-}
-
-}
-

Deleted: trunk/libs/config/test/no_fenv_h_fail.cpp
==============================================================================
--- trunk/libs/config/test/no_fenv_h_fail.cpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
+++ (empty file)
@@ -1,33 +0,0 @@
-// Copyright Bryce Lelbach 2010.
-// Copyright John Maddock 2002-4.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/libs/config for the most recent version.
-
-// Test file for macro BOOST_NO_FENV_H
-// This file should not compile, if it does then
-// BOOST_NO_FENV_H should not be defined.
-// See file boost_no_fenv_h.ipp for details
-
-// Must not have BOOST_ASSERT_CONFIG set; it defeats
-// the objective of this file:
-#ifdef BOOST_ASSERT_CONFIG
-# undef BOOST_ASSERT_CONFIG
-#endif
-
-#include <boost/config.hpp>
-#include "test.hpp"
-
-#ifdef BOOST_NO_FENV_H
-#include "boost_no_fenv_h.ipp"
-#else
-#error "this file should not compile"
-#endif
-
-int main( int, char *[] )
-{
- return boost_no_fenv_h::test();
-}
-

Deleted: trunk/libs/config/test/no_fenv_h_pass.cpp
==============================================================================
--- trunk/libs/config/test/no_fenv_h_pass.cpp 2011-01-16 23:51:54 EST (Sun, 16 Jan 2011)
+++ (empty file)
@@ -1,33 +0,0 @@
-// Copyright Bryce Lelbach 2010.
-// Copyright John Maddock 2002-4.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/libs/config for the most recent version.
-
-// Test file for macro BOOST_NO_FENV_H
-// This file should compile, if it does not then
-// BOOST_NO_FENV_H should be defined.
-// See file boost_no_fenv_h.ipp for details
-
-// Must not have BOOST_ASSERT_CONFIG set; it defeats
-// the objective of this file:
-#ifdef BOOST_ASSERT_CONFIG
-# undef BOOST_ASSERT_CONFIG
-#endif
-
-#include <boost/config.hpp>
-#include "test.hpp"
-
-#ifndef BOOST_NO_FENV_H
-#include "boost_no_fenv_h.ipp"
-#else
-namespace boost_no_fenv_h = empty_boost;
-#endif
-
-int main( int, char *[] )
-{
- return boost_no_fenv_h::test();
-}
-


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk