aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-12-11 03:43:05 +0000
committerAlan Modra <amodra@gmail.com>2000-12-11 03:43:05 +0000
commitd58c3cb85e0043e8c18b030e26be61aad78cb371 (patch)
tree04a5522fa2edd38e153da921192fc003ac971549
parent9a6b6a66b7d6a60b71e6028986f7df06fcabbbf5 (diff)
downloadgdb-d58c3cb85e0043e8c18b030e26be61aad78cb371.zip
gdb-d58c3cb85e0043e8c18b030e26be61aad78cb371.tar.gz
gdb-d58c3cb85e0043e8c18b030e26be61aad78cb371.tar.bz2
Replace #warning with #error
-rw-r--r--include/coff/ChangeLog6
-rw-r--r--include/coff/ti.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 79da275..d73c51a 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -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>
diff --git a/include/coff/ti.h b/include/coff/ti.h
index c06028a..445707c 100644
--- a/include/coff/ti.h
+++ b/include/coff/ti.h
@@ -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