From e071493f4104388966d0428387a540c15a91178f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Sep 2004 21:18:14 +0000 Subject: Update. * 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. --- misc/sys/cdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 3c53ca707d..e89776c2a7 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -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 -- cgit v1.2.3