]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/50982 (AIX libstdc++ GTHREADS incompatibility)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Mon, 7 Nov 2011 07:54:06 +0000 (07:54 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 7 Nov 2011 07:54:06 +0000 (07:54 +0000)
PR libstdc++/50982
* include/std/mutex (__once_proxy): Use void parameter list to
work on implicit extern "C" systems.

From-SVN: r181072

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/mutex

index 299bee971136a9d89409ce21e57eae987e406542..408b0d4bc963b1ad024d3657adae1cb4fe73c01c 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/50982
+       * include/std/mutex (__once_proxy): Use void parameter list to
+       work on implicit extern "C" systems.
+
 2011-11-07  Xinliang David Li  <davidxl@google.com>
 
        * include/backward/hashtable.h: Make __stl_prime_list
index 321a332e54867d26b77b1135a3db3701860883b7..bc2675b2b684f9fcc8c596ce1147fb3d153ff480 100644 (file)
@@ -796,7 +796,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   __get_once_mutex();
 #endif
 
-  extern "C" void __once_proxy();
+  extern "C" void __once_proxy(void);
 
   /// call_once
   template<typename _Callable, typename... _Args>