This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: invalid preprocessing directive #warn
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: invalid preprocessing directive #warn
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 8 Dec 2000 10:59:25 +1100 (EST)
- cc: binutils at sourceware dot cygnus dot com
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.