Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Applied: [cdt-patch] Patch: fix -Werror usage

Thanks, Tom!  Applied to HEAD.

Doug Schaefer, Senior Software Developer
IBM Rational Software, Ottawa, Ontario, Canada



Tom Tromey <tromey@xxxxxxxxxx> 
Sent by: cdt-patch-admin@xxxxxxxxxxx
10/17/2003 02:39 PM
Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch <cdt-patch@xxxxxxxxxxx>
cc

Subject
[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>
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch




Back to the top