diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-06-17 09:50:00 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-06-17 09:50:00 +0000 |
commit | ee773fcc770aa8210e81cd94916f3ecb50c51458 (patch) | |
tree | ff94a22e0fa5b4ac29c4d9e4f899a0f63b8eec76 | |
parent | e6f03f41c5676aabd141cf1a9a361686ba204b6e (diff) | |
download | gcc-ee773fcc770aa8210e81cd94916f3ecb50c51458.zip gcc-ee773fcc770aa8210e81cd94916f3ecb50c51458.tar.gz gcc-ee773fcc770aa8210e81cd94916f3ecb50c51458.tar.bz2 |
* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.
From-SVN: r43426
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0092a4..c6426bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-06-17 Neil Booth <neil@daikokuya.demon.co.uk> + + * tm.texi: Document STDC_0_IN_SYSTEM_HEADERS. + Sat Jun 16 20:20:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR, diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 2e430ae..5359f7a 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8080,6 +8080,18 @@ The default definition of this macro is 64 plus 8 times the number of arguments that the function accepts. Some people think a larger threshold should be used on RISC machines. +@findex STDC_0_IN_SYSTEM_HEADERS +@item STDC_0_IN_SYSTEM_HEADERS +In normal operation, the preprocessor expands @code{__STDC__} to the +constant 1, to signify that GCC conforms to ISO Standard C@. On some +hosts, like Solaris, the system compiler uses a different convention, +where @code{__STDC__} is normally 0, but is 1 if the user specifies +strict conformance to the C Standard. + +Defining @code{STDC_0_IN_SYSTEM_HEADERS} makes GNU CPP follows the host +convention when processing system header files, but when processing user +files @code{__STDC__} will always expand to 1. + @findex SCCS_DIRECTIVE @item SCCS_DIRECTIVE Define this if the preprocessor should ignore @code{#sccs} directives |