Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergey Prigogin2011-12-23 19:38:21 +0000
committerAndrew Gvozdev2011-12-23 19:39:26 +0000
commitdd2d478fc16438fd2dd30da103012e63596825e8 (patch)
treeb3cb55bee8b1c7196456a511341650f183d7bcc8 /build
parent5c70f146df46ea0628231f0f4002b7e530e79c4e (diff)
downloadorg.eclipse.cdt-dd2d478fc16438fd2dd30da103012e63596825e8.tar.gz
org.eclipse.cdt-dd2d478fc16438fd2dd30da103012e63596825e8.tar.xz
org.eclipse.cdt-dd2d478fc16438fd2dd30da103012e63596825e8.zip
Bug 365461: Requesting -Wextra and -Wconversion warnings flags for gcc
c/c++
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties2
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml32
2 files changed, 34 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
index b6eb4cb9230..ea1c1abd6ae 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
@@ -141,7 +141,9 @@ Option.Posix.Warn.Pedandic=Pedantic (-pedantic)
Option.Posix.Warn.PedErrors=Pedantic warnings as errors (-pedantic-errors)
Option.Posix.Warn.nowarn=Inhibit all warnings (-w)
Option.Posix.Warn.allwarn=All warnings (-Wall)
+Option.Posix.Warn.extrawarn=Extra warnings (-Wextra)
Option.Posix.Warn.toerrs=Warnings as errors (-Werror)
+Option.Posix.Warn.wconversion=Implicit conversion warnings (-Wconversion)
Option.Posix.Verbose=Verbose (-v)
Option.OtherFlags=Other flags
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml
index ddc4c317689..146c331769c 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml
@@ -1204,12 +1204,28 @@
</option>
<option
defaultValue="false"
+ name="%Option.Posix.Warn.extrawarn"
+ category="gnu.c.compiler.category.warnings"
+ command="-Wextra"
+ id="gnu.c.compiler.option.warnings.extrawarn"
+ valueType="boolean">
+ </option>
+ <option
+ defaultValue="false"
name="%Option.Posix.Warn.toerrs"
category="gnu.c.compiler.category.warnings"
command="-Werror"
id="gnu.c.compiler.option.warnings.toerrors"
valueType="boolean">
</option>
+ <option
+ defaultValue="false"
+ name="%Option.Posix.Warn.wconversion"
+ category="gnu.c.compiler.category.warnings"
+ command="-Wconversion"
+ id="gnu.c.compiler.option.warnings.wconversion"
+ valueType="boolean">
+ </option>
<optionCategory
owner="cdt.managedbuild.tool.gnu.c.compiler"
name="%OptionCategory.Misc"
@@ -1518,12 +1534,28 @@
</option>
<option
defaultValue="false"
+ name="%Option.Posix.Warn.extrawarn"
+ category="gnu.cpp.compiler.category.warnings"
+ command="-Wextra"
+ id="gnu.cpp.compiler.option.warnings.extrawarn"
+ valueType="boolean">
+ </option>
+ <option
+ defaultValue="false"
name="%Option.Posix.Warn.toerrs"
category="gnu.cpp.compiler.category.warnings"
command="-Werror"
id="gnu.cpp.compiler.option.warnings.toerrors"
valueType="boolean">
</option>
+ <option
+ defaultValue="false"
+ name="%Option.Posix.Warn.wconversion"
+ category="gnu.cpp.compiler.category.warnings"
+ command="-Wconversion"
+ id="gnu.cpp.compiler.option.warnings.wconversion"
+ valueType="boolean">
+ </option>
<optionCategory
owner="cdt.managedbuild.tool.gnu.cpp.compiler"
name="%OptionCategory.Misc"

Back to the top