[svn:parrot] r44523 - in branches/rm_cflags: compilers/imcc config/auto

coke at svn.parrot.org coke at svn.parrot.org
Sat Feb 27 00:40:48 UTC 2010


Author: coke
Date: Sat Feb 27 00:40:47 2010
New Revision: 44523
URL: https://trac.parrot.org/parrot/changeset/44523

Log:
TODO a warning for this file.

Modified:
   branches/rm_cflags/compilers/imcc/Rules.in
   branches/rm_cflags/config/auto/warnings.pm

Modified: branches/rm_cflags/compilers/imcc/Rules.in
==============================================================================
--- branches/rm_cflags/compilers/imcc/Rules.in	Sat Feb 27 00:32:54 2010	(r44522)
+++ branches/rm_cflags/compilers/imcc/Rules.in	Sat Feb 27 00:40:47 2010	(r44523)
@@ -108,6 +108,7 @@
 
 ## SUFFIX OVERRIDE - Warnings (This is generated code)
 compilers/imcc/imcparser$(O) : \
+    compilers/imcc/imcparser.c \
     compilers/imcc/cfg.h \
     compilers/imcc/debug.h \
     compilers/imcc/imc.h \
@@ -141,7 +142,9 @@
     $(INC_DIR)/runcore_api.h \
     $(PARROT_H_HEADERS)
 
+## SUFFIX OVERRIDE - Warnings (This is generated code)
 compilers/imcc/optimizer$(O) : \
+    compilers/imcc/optimizer.c \
     compilers/imcc/cfg.h \
     compilers/imcc/debug.h \
     compilers/imcc/imc.h \
@@ -153,6 +156,7 @@
     compilers/imcc/unit.h \
     $(INC_DIR)/oplib/ops.h \
     $(PARROT_H_HEADERS)
+	$(CC) $(CFLAGS) @ccwarn::compilers/imcc/optimizer.c@ @cc_shared@ -I$(@D) @cc_o_out@ $@ -c compilers/imcc/optimizer.c
 
 compilers/imcc/reg_alloc$(O) : \
     compilers/imcc/cfg.h \

Modified: branches/rm_cflags/config/auto/warnings.pm
==============================================================================
--- branches/rm_cflags/config/auto/warnings.pm	Sat Feb 27 00:32:54 2010	(r44522)
+++ branches/rm_cflags/config/auto/warnings.pm	Sat Feb 27 00:40:47 2010	(r44523)
@@ -197,6 +197,7 @@
     $gcc->{'todo'} = $gpp->{'todo'} = {
         '-Wformat-nonliteral' => [
             'src/spf_render.c',
+            'compilers/imcc/optimizer.c',
         ],
         '-Wstrict-prototypes' => [
             'src/nci/extra_thunks.c',


More information about the parrot-commits mailing list