Create "surge" qualifier for GCCE builds, with -fpermissive, -Wno-invalid-offsetof, -Wno-attributes GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Tue, 22 Jun 2010 16:08:21 +0100
branchGCC_SURGE
changeset 62 c4625721f596
parent 59 37de0596143f
child 63 d0c1ad0b5c53
Create "surge" qualifier for GCCE builds, with -fpermissive, -Wno-invalid-offsetof, -Wno-attributes
foundation_system/sf_config/sbs/s60_sbs_config.xml
--- a/foundation_system/sf_config/sbs/s60_sbs_config.xml	Mon Jun 14 10:00:28 2010 +0100
+++ b/foundation_system/sf_config/sbs/s60_sbs_config.xml	Tue Jun 22 16:08:21 2010 +0100
@@ -21,7 +21,9 @@
 	<!-- gnu make -->
 	<alias name="make" meaning="make_engine.make_changes"/>
 
-	<var name="permissive">
-		<append name="CC_ERRORS_CONTROL_OPTION" value="-fpermissive"/>
+	<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="CC_WARNINGS_CONTROL_OPTION" value="-Wno-attributes"/>		<!-- turn off warnings where IMPORT_C and EXPORT_C are *correctly* matched -->
 	</var>
 </build>