This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: invalid preprocessing directive #warn


On Thu, 7 Dec 2000, John David Anglin wrote:

> The following error occurs with todays source under i686 linux with gcc-2.97:
> 
> ../../include/coff/ti.h:48:2: invalid preprocessing directive #warn

I've committed the obvious fix to return this to compiling OK, at least
with gcc.  If there is any further attention needed, I'm sure Timothy Wall
(why isn't he listed as binutils ti maintainer?) will provide it.

--- include/coff/ti.h~  Mon May 29 08:56:27 2000
+++ include/coff/ti.h   Fri Dec  8 10:17:13 2000
@@ -45,7 +45,7 @@
 
 /* This value is made available in the rare case where a bfd is unavailable */
 #ifndef OCTETS_PER_BYTE_POWER
-#warn OCTETS_PER_BYTE_POWER not defined for this CPU, it will default to 0
+#warning OCTETS_PER_BYTE_POWER not defined for this CPU, it will default to 0
 #else
 #define OCTETS_PER_BYTE (1<<OCTETS_PER_BYTE_POWER)
 #endif

-- 
Linuxcare.  Support for the Revolution.



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