diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 00:56:12 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 00:56:12 +0000 |
| commit | c1130929d9cd9d0c652e814078d176ff77eac93f (patch) | |
| tree | 1f50c43fa2ecac3c99fa0e3ce264c9a4263ca545 /libstdc++-v3/include/precompiled | |
| parent | 15877a9ce176cdaa4e0ce2a7a0d659b39d70d3d8 (diff) | |
| download | ppe42-gcc-c1130929d9cd9d0c652e814078d176ff77eac93f.tar.gz ppe42-gcc-c1130929d9cd9d0c652e814078d176ff77eac93f.zip | |
2009-08-11 Benjamin Kosnik <bkoz@redhat.com>
* include/precompiled/extc++.h: Don't include TR1 if C++0x.
* include/precompiled/stdc++.h: Don't include cassert if
_GLIBCXX_NO_ASSERT defined.
* include/ext/cast.h (_GLIBCXX_BEGIN_NAMESPACE): Remove extra
semi-colon.
* include/ext/pointer.h (_GCC_CXX_POINTER_COMPARISON_OPERATION_SET):
Same.
* testsuite/17_intro/headers/all.cc: Move into dialect-specific
directory.
* testsuite/17_intro/headers/all_pedantic_errors.cc: Same.
* testsuite/17_intro/headers/all_assert_neg.cc: Same.
* testsuite/17_intro/headers/all_c++200x_compatibility.cc: Same.
* testsuite/17_intro/headers/c++1998/all.cc: Use extc++.h include.
* testsuite/17_intro/headers/c++1998/stdc++.cc: Converted all.cc,
use stdc++.h include.
* testsuite/17_intro/headers/c++1998/all_pedantic_errors.cc: Same.
* testsuite/17_intro/headers/c++1998/stdc++_assert_neg.cc: Same.
* testsuite/17_intro/headers/c++1998/all_c++200x_compatibility.cc: Same.
* testsuite/17_intro/headers/c++1998/all_no_exceptions.cc: New.
* testsuite/17_intro/headers/c++1998/all_multiple_inclusion.cc: To...
* testsuite/17_intro/headers/c++1998/stdc++_multiple_inclusion.cc
...this.
* testsuite/17_intro/headers/c++200x/all.cc: To...
* testsuite/17_intro/headers/c++200x/stdc++.cc: ..this.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: To...
* testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
...this.
* testsuite/17_intro/headers/c++200x/all_no_exceptions.cc: New.
* testsuite/17_intro/headers/c++200x/all_pedantic_errors.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/precompiled')
| -rw-r--r-- | libstdc++-v3/include/precompiled/extc++.h | 2 | ||||
| -rw-r--r-- | libstdc++-v3/include/precompiled/stdc++.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/include/precompiled/extc++.h b/libstdc++-v3/include/precompiled/extc++.h index f0ccc42f0ca..03e53390cd1 100644 --- a/libstdc++-v3/include/precompiled/extc++.h +++ b/libstdc++-v3/include/precompiled/extc++.h @@ -26,7 +26,9 @@ * This is an implementation file for a precompiled header. */ +#ifndef __GXX_EXPERIMENTAL_CXX0X__ #include <bits/stdtr1c++.h> +#endif #include <ext/algorithm> #include <ext/array_allocator.h> diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h index 6cae9e5e96d..1c615091bdc 100644 --- a/libstdc++-v3/include/precompiled/stdc++.h +++ b/libstdc++-v3/include/precompiled/stdc++.h @@ -30,7 +30,9 @@ // 17.4.1.2 Headers // C +#ifndef _GLIBCXX_NO_ASSERT #include <cassert> +#endif #include <cctype> #include <cerrno> #include <cfloat> |

