Move -Wno-invalid-offsetof to CPP_LANG_OPTION, because it's only for C++ GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Tue, 22 Jun 2010 22:11:23 +0100
branchGCC_SURGE
changeset 63 d0c1ad0b5c53
parent 62 c4625721f596
child 64 01e93f67d69f
Move -Wno-invalid-offsetof to CPP_LANG_OPTION, because it's only for C++ CC_WARNINGS_CONTROL_OPTION is applied to both C and C++, causing a lot of new warnings
foundation_system/sf_config/sbs/s60_sbs_config.xml
--- a/foundation_system/sf_config/sbs/s60_sbs_config.xml	Tue Jun 22 16:08:21 2010 +0100
+++ b/foundation_system/sf_config/sbs/s60_sbs_config.xml	Tue Jun 22 22:11:23 2010 +0100
@@ -23,7 +23,7 @@
 
 	<var name="surge">
 		<append name="CPP_LANG_OPTION" value="-fpermissive"/>   <!-- downgrade "extra qualification XXX on member YYY" errors to warnings -->
-		<append name="CC_WARNINGS_CONTROL_OPTION" value="-Wno-invalid-offsetof"/>		<!-- turn off "perhaps the 'offsetof' macro was used incorrectly" -->
+		<append name="CPP_LANG_OPTION" value="-Wno-invalid-offsetof"/>		<!-- turn off "perhaps the 'offsetof' macro was used incorrectly" -->
 		<append name="CC_WARNINGS_CONTROL_OPTION" value="-Wno-attributes"/>		<!-- turn off warnings where IMPORT_C and EXPORT_C are *correctly* matched -->
 	</var>
 </build>