diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-15 00:43:24 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2003-07-15 00:43:24 +0000 |
commit | bf66f7b007c9e780f1ec665983545eb4df5b441a (patch) | |
tree | 5d8041f7737e251b8450f9ba14a6eb4388d6e09c /gcc/fixinc | |
parent | b9ce931dbea28e93eb92a56d1f344f75891ed11a (diff) | |
download | gcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.zip gcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.tar.gz gcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.tar.bz2 |
inclhack.def (avoid_bool_define, [...]): Bypass with __cplusplus, not "we must use the C++ compiler's type"
* fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
with __cplusplus, not "we must use the C++ compiler's type"
* fixinc/inclhack.def (void_null): Note that Interix needs this.
* fixinc/fixincl.x: Regenerate.
From-SVN: r69373
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 8 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index f76d6e7..8bb2b0f 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Sunday July 13, 2003 at 02:48:14 AM EDT + * It has been AutoGen-ed Monday July 14, 2003 at 08:37:56 PM EDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT CVS-MERGE THIS FILE, EITHER Sun Jul 13 02:48:14 EDT 2003 +/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Jul 14 20:37:56 EDT 2003 * * You must regenerate it. Use the ./genfixes script. * @@ -919,7 +919,7 @@ tSCC zAvoid_Bool_DefineSelect0[] = * content bypass pattern - skip fix if pattern found */ tSCC zAvoid_Bool_DefineBypass0[] = - "we must use the C\\+\\+ compiler's type"; + "__cplusplus"; #define AVOID_BOOL_DEFINE_TEST_CT 2 static tTestDesc aAvoid_Bool_DefineTests[] = { @@ -964,7 +964,7 @@ tSCC zAvoid_Bool_TypeSelect0[] = * content bypass pattern - skip fix if pattern found */ tSCC zAvoid_Bool_TypeBypass0[] = - "we must use the C\\+\\+ compiler's type"; + "__cplusplus"; #define AVOID_BOOL_TYPE_TEST_CT 2 static tTestDesc aAvoid_Bool_TypeTests[] = { diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index ae0ddcb..63f5ce0 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -604,7 +604,7 @@ fix = { files = tinfo.h; select = "#[ \t]*define[ \t]+bool[ \t]"; - bypass = "we must use the C\\+\\+ compiler's type"; + bypass = "__cplusplus"; c_fix = format; c_fix_arg = "#ifndef __cplusplus\n%0\n#endif"; @@ -622,7 +622,7 @@ fix = { files = tinfo.h; select = "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;"; - bypass = "we must use the C\\+\\+ compiler's type"; + bypass = "__cplusplus"; c_fix = format; c_fix_arg = "#ifndef __cplusplus\n%0\n#endif"; @@ -3362,7 +3362,7 @@ fix = { /* - * AIX headers define NULL to be cast to a void pointer, + * AIX and Interix headers define NULL to be cast to a void pointer, * which is illegal in ANSI C++. */ fix = { |