Author: coke
Date: Wed Nov 26 12:25:00 2008
New Revision: 33238
Modified:
trunk/config/gen/makefiles/CFLAGS.in
trunk/tools/dev/cc_flags.pl
Log:
Merge in r33235 and r33236 to trunk: avoid some build warnings and keep our
tool up to date.
Modified: trunk/config/gen/makefiles/CFLAGS.in
==============================================================================
--- trunk/config/gen/makefiles/CFLAGS.in (original)
+++ trunk/config/gen/makefiles/CFLAGS.in Wed Nov 26 12:25:00 2008
@@ -10,7 +10,6 @@
src/tsq.c [EMAIL PROTECTED]@} # never optimize tsq.c!
src/ops/core_ops_cg.c [EMAIL PROTECTED]@} # takes too long
src/ops/core_ops_switch.c [EMAIL PROTECTED]@} # Overwhelms some compilers.
-src/py_func.c +{-Ipmc} # include pmc_default.h
# io should be -Wunused clean
{^src/io/} s/-Wno-unused/-Wunused/
@@ -27,4 +26,5 @@
compilers/imcc/debug.c -{-Wformat-nonliteral} # noisy
compilers/imcc/optimizer.c -{-Wformat-nonliteral} # noisy
compilers/imcc/parser_util.c -{-Wformat-nonliteral} # noisy
-compilers/imcc/imclexer -{-Wunused} # noisy
+compilers/imcc/imclexer.c -{-Wunused} # noisy
+compilers/imcc/imclexer.c -{-Wswitch-default} # occurs in generated code
Modified: trunk/tools/dev/cc_flags.pl
==============================================================================
--- trunk/tools/dev/cc_flags.pl (original)
+++ trunk/tools/dev/cc_flags.pl Wed Nov 26 12:25:00 2008
@@ -17,7 +17,7 @@
This script is used in a F<Makefile> to process the flags to pass to the
compiler for each C file.
-See F<config/gen/cflags/root.in> for the transformation file format.
+See F<config/gen/makefiles/CFLAGS.in> for the transformation file format.
=head1 SEE ALSO