diff options
author | kan <kan@FreeBSD.org> | 2002-09-01 20:39:13 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-09-01 20:39:13 +0000 |
commit | c31428d2117318fc5d72e9868d7d34eee52c4eba (patch) | |
tree | f69812e8f56ae46c848e604412b0729b776c7756 /contrib/libstdc++/include/bits/c++config | |
parent | 2e25f3a6c57335cba50111faceb0ce2ab59e9bcb (diff) | |
download | FreeBSD-src-c31428d2117318fc5d72e9868d7d34eee52c4eba.zip FreeBSD-src-c31428d2117318fc5d72e9868d7d34eee52c4eba.tar.gz |
Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
Diffstat (limited to 'contrib/libstdc++/include/bits/c++config')
-rw-r--r-- | contrib/libstdc++/include/bits/c++config | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/libstdc++/include/bits/c++config b/contrib/libstdc++/include/bits/c++config index d5bf458..831d35e 100644 --- a/contrib/libstdc++/include/bits/c++config +++ b/contrib/libstdc++/include/bits/c++config @@ -34,7 +34,7 @@ #include <bits/os_defines.h> // The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20020513 +#define __GLIBCPP__ 20020831 // This is necessary until GCC supports separate template // compilation. @@ -69,7 +69,15 @@ // that threads are properly configured on your platform before // assigning blame to the STL container-memory allocator. After doing // so, please report any possible issues to libstdc++@gcc.gnu.org . -// Do not blindly #define __USE_MALLOC here or on the command line. +// Do not define __USE_MALLOC on the command line. Enforce it here: +#ifdef __USE_MALLOC +#error __USE_MALLOC should only be defined within \ +libstdc++-v3/include/bits/c++config before full recompilation of the library. +#endif +// Define __USE_MALLOC after this point in the file in order to aid debugging +// or globally change allocation policy. This breaks the ABI, thus +// completely recompile the library. A patch to better support +// changing the global allocator policy would be probably be accepted. // The remainder of the prewritten config is mostly automatic; all the // user hooks are listed above. |