From: jason Date: Fri, 25 Dec 2015 03:25:09 +0000 (+0000) Subject: Correct use of __GXX_WEAK__ macro. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21252552a8f62d6cf7592c28f01d4b5343b2877a;p=thirdparty%2Fgcc.git Correct use of __GXX_WEAK__ macro. * testsuite/ext/bitmap_allocator/check_deallocate_null.cc * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231953 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 766e9f160802..1f83eaffcddd 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 70b025d6c8ac..8f2bcf13f3cf 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 4fb6689ea6a5..5850508c5a82 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