From b4a0c79b1a70840486f3df4eae1195101870fa61 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 24 Dec 2015 22:25:09 -0500 Subject: [PATCH] Correct use of __GXX_WEAK__ macro. * testsuite/ext/bitmap_allocator/check_deallocate_null.cc * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc From-SVN: r231953 --- libstdc++-v3/ChangeLog | 6 ++++++ .../ext/bitmap_allocator/check_allocate_max_size.cc | 2 +- .../testsuite/ext/bitmap_allocator/check_deallocate_null.cc | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 766e9f16080..1f83eaffcdd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-12-24 Jason Merrill + + * testsuite/ext/bitmap_allocator/check_deallocate_null.cc + * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: + Correct use of __GXX_WEAK__ macro. + 2015-12-22 Jonathan Wakely PR libstdc++/59768 diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc index 70b025d6c8a..8f2bcf13f3c 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator; #endif diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc index 4fb6689ea6a..5850508c5a8 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator; #endif -- 2.30.2