diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-20 09:01:53 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-22 08:14:14 -0400 |
commit | f049db42ef969d7e9f6b8a1414143e9e0dfdbd62 (patch) | |
tree | 50f4160cd950dab1e24e7fb04eb2cf9d455b9b32 /README.os2 | |
parent | 31114fe9917b761bdc174de49e81de27555b30e9 (diff) | |
download | perl-f049db42ef969d7e9f6b8a1414143e9e0dfdbd62.tar.gz |
Allow enabling -pedantic(-errors) (with -std=c89) for the core.
The core was already -pedantic clean (with default config, with
DEBUGGING almost), cflags just needed some juggling, somewhat
complicated by the logic of -Werror=declaration-after-statement.
Still requires -Dgccansipedantic to enable the -pedantic because
otherwise we do not use things like gcc brace groups and C99 variadic
macros, which are nice. Also, see below about usedtrace complications.
(the gccansipedantic logic was odd, probably not used for a while.)
Under -DDEBUGGING the -pedantic requires quieting the warnings
about overlong string literals.
Disable -pedantic et al if usedtrace is enabled, it uses too many
non-standard features (and it depends on code generated by an external
framework).
Diffstat (limited to 'README.os2')
0 files changed, 0 insertions, 0 deletions