]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 9 Sep 2004 21:18:14 +0000 (21:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 9 Sep 2004 21:18:14 +0000 (21:18 +0000)
* misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
seems not to support the nothrow attribute.  Use it only for gcc
3.3 and higher.

ChangeLog
misc/sys/cdefs.h

index f47efd01935527a68857fe74640a211c87b0d140..943848b4abd63795179360139374d49992b2377e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-09-09  Ulrich Drepper  <drepper@redhat.com>
 
+       * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
+       seems not to support the nothrow attribute.  Use it only for gcc
+       3.3 and higher.
+
        * malloc/hooks.c (top_check): Print top chunk corruption as normal
        error message.
 
index 3c53ca707dbb9c976224ebea59da8b1abc73671e..e89776c2a7a515a59e956eff402f5a0041e0f958 100644 (file)
@@ -42,7 +42,7 @@
    gcc 2.8.x and egcs.  For gcc 3.2 and up we even mark C functions
    as non-throwing using a function attribute since programs can use
    the -fexceptions options for C code as well.  */
-# if !defined __cplusplus && __GNUC_PREREQ (3, 2)
+# if !defined __cplusplus && __GNUC_PREREQ (3, 3)
 #  define __THROW      __attribute__ ((__nothrow__))
 #  define __NTH(fct)   __attribute__ ((__nothrow__)) fct
 # else