Replace #warning with #error
authorAlan Modra <amodra@gmail.com>
Mon, 11 Dec 2000 03:43:05 +0000 (03:43 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 11 Dec 2000 03:43:05 +0000 (03:43 +0000)
include/coff/ChangeLog
include/coff/ti.h

index 79da275..d73c51a 100644 (file)
@@ -1,6 +1,10 @@
+2000-12-11  Alan Modra  <alan@linuxcare.com.au>
+
+       * ti.h (OCTETS_PER_BYTE_POWER): Change #warning to #error.
+
 2000-12-08  Alan Modra  <alan@linuxcare.com.au>
 
-       * ti.h: Change #warn to #warning.
+       * ti.h (OCTETS_PER_BYTE_POWER): Change #warn to #warning.
 
 2000-06-30  DJ Delorie  <dj@cygnus.com>
 
index c06028a..445707c 100644 (file)
@@ -45,7 +45,7 @@ struct external_filehdr {
 
 /* This value is made available in the rare case where a bfd is unavailable */
 #ifndef OCTETS_PER_BYTE_POWER
-#warning OCTETS_PER_BYTE_POWER not defined for this CPU, it will default to 0
+#error "OCTETS_PER_BYTE_POWER not defined for this CPU"
 #else
 #define OCTETS_PER_BYTE (1<<OCTETS_PER_BYTE_POWER)
 #endif