Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/i386 Kill the "throw()" on...



details:   https://anonhg.NetBSD.org/src/rev/1d860f95b7ee
branches:  trunk
changeset: 327467:1d860f95b7ee
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Mar 08 19:15:32 2014 +0000

description:
Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
Ok: joerg

diffstat:

 external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b514dd85e971 -r 1d860f95b7ee external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h
--- a/external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h       Sat Mar 08 18:08:48 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/i386/pmm_malloc.h       Sat Mar 08 19:15:32 2014 +0000
@@ -31,7 +31,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 *



Home | Main Index | Thread Index | Old Index