diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-22 07:20:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-22 07:20:27 +0000 |
commit | b4219afa515400c5b8ef4b0f5bab9e40fa3243cc (patch) | |
tree | c5177830620b15160aadff5b319d6343204460f9 /make-manuf | |
parent | ff8da7fb9d40af174f79ce39f6b93b4bc8fdd7c9 (diff) |
Generated Bison and Flex files test whether __STDC__ is defined
in order to check whether to use ANSI C features such as "const".
GCC defines it as 1 even if extensions that render the implementation
non-conformant are enabled; Sun's C compiler (and, I think, other
AT&T-derived C compilers) define it as 0 if extensions that render
the implementation non-conformant are enabled; Microsoft Visual C++
6.0 doesn't define it at all if extensions that render the implementation
non-conformant are enabled.
We define it as 0 in "config.h.win32", so that those generated files will use
those features (and thus not get type warnings when compiled with
MSVC++).
svn path=/trunk/; revision=2698
Diffstat (limited to 'make-manuf')
0 files changed, 0 insertions, 0 deletions