This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Another ia64 warning fix

_GNU_SOURCE may also be defined by configure, in a different way.


2003-11-02  Andreas Schwab  <>

	* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
	empty to avoid conflict with the definition from configure.

--- gcc/config/ia64/fde-glibc.c.~1.7.~	2003-03-14 09:34:46.000000000 +0100
+++ gcc/config/ia64/fde-glibc.c	2003-11-02 18:34:07.000000000 +0100
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
    Contributed by Richard Henderson <>.
    This file is part of GCC.
@@ -29,7 +29,7 @@
    to avoid register/deregister calls at DSO load/unload.  */
 #ifndef _GNU_SOURCE
-#define _GNU_SOURCE
+#define _GNU_SOURCE 1
 #include "config.h"
 #include <stddef.h>

Andreas Schwab, SuSE Labs,
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]