projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30aec88
)
(ONLY_INT_FIELDS): Define if not __GNUC__.
author
Richard Stallman
<rms@gnu.org>
Sun, 13 Dec 1992 01:43:14 +0000
(
01:43
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 13 Dec 1992 01:43:14 +0000
(
01:43
+0000)
(ONLY_INT_FIELDS): Define if not __GNUC__.
(CODE_FIELD_BUG): Likewise.
From-SVN: r2871
gcc/config/i386/xm-sco.h
patch
|
blob
|
history
diff --git
a/gcc/config/i386/xm-sco.h
b/gcc/config/i386/xm-sco.h
index 4177ae15768e3d348e5a3ee1cf6d27165a0eca8a..b8bf5bd5ccb567219f043efaf4136de34f553a77 100644
(file)
--- a/
gcc/config/i386/xm-sco.h
+++ b/
gcc/config/i386/xm-sco.h
@@
-9,3
+9,11
@@
/* Big buffers improve performance. */
#define IO_BUFFER_SIZE (0x8000 - 1024)
+
+#ifndef __GNUC__
+/* The SCO compiler gets it wrong, and treats enumerated bitfields
+ as signed quantities, making it impossible to use an 8-bit enum
+ for compiling GNU C++. */
+#define ONLY_INT_FIELDS 1
+#define CODE_FIELD_BUG 1
+#endif