Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 10:14:33 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226430 - head/contrib/gcc/config/i386
Message-ID:  <201110161014.p9GAEX4C057948@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stefanf
Date: Sun Oct 16 10:14:33 2011
New Revision: 226430
URL: http://svn.freebsd.org/changeset/base/226430

Log:
  Adjust posix_memalign() prototype to match what we define in stdlib.h for
  C++ compilation.
  
  PR:	standards/147210

Modified:
  head/contrib/gcc/config/i386/pmm_malloc.h

Modified: head/contrib/gcc/config/i386/pmm_malloc.h
==============================================================================
--- head/contrib/gcc/config/i386/pmm_malloc.h	Sun Oct 16 10:00:28 2011	(r226429)
+++ head/contrib/gcc/config/i386/pmm_malloc.h	Sun Oct 16 10:14:33 2011	(r226430)
@@ -34,7 +34,7 @@
 #ifndef __cplusplus
 extern int posix_memalign (void **, size_t, size_t);
 #else
-extern "C" int posix_memalign (void **, size_t, size_t) throw ();
+extern "C" int posix_memalign (void **, size_t, size_t);
 #endif
 
 static __inline void *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110161014.p9GAEX4C057948>