[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Patch: fix -Werror usage
|
The current org.eclipse.cdt.managedbuilder.ui plugin.xml uses
"-werror". This is not a valid gcc option; the correct spelling has
an uppercase "W". Patch appended, here's a ChangeLog entry:
2003-10-17 Tom Tromey <tromey@xxxxxxxxxx>
* plugin.xml: Use -Werror, not -werror.
Tom
Index: plugin.xml
===================================================================
RCS file: /home/tools/org.eclipse.cdt.managedbuilder.ui/plugin.xml,v
retrieving revision 1.10
diff -u -r1.10 plugin.xml
--- plugin.xml 1 Oct 2003 23:56:26 -0000 1.10
+++ plugin.xml 17 Oct 2003 18:44:34 -0000
@@ -371,9 +371,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="cygwin.c.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="cygwin.gnu.c.compiler.warnings.toerrors">
</option>
@@ -701,9 +701,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="cygwin.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="cygwin.gnu.compiler.warnings.toerrors">
</option>
@@ -1670,9 +1670,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="linux.c.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="linux.gnu.c.compiler.warnings.toerrors">
</option>
@@ -1969,9 +1969,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="linux.gnu.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="linux.gnu.compiler.warnings.toerrors">
</option>
@@ -2846,9 +2846,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="solaris.c.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="solaris.gnu.c.compiler.warnings.toerrors">
</option>
@@ -3130,9 +3130,9 @@
</option>
<option
defaultValue="false"
- name="Warnings as errors (-werror)"
+ name="Warnings as errors (-Werror)"
category="solaris.gnu.compiler.category.warnings"
- command="-werror"
+ command="-Werror"
valueType="boolean"
id="solaris.gnu.compiler.warnings.toerrors">
</option>