Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 207852 Details for
Bug 266305
Requesting additional warnings flags panel for gcc c++
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Adding -Wextra flag to gcc c/c++ settings
0001-Bug-266305-Adding-Wextra-flag-to-gcc-c-c-settings.patch (text/plain), 2.25 KB, created by
Otavio Pontes
on 2011-12-02 11:56:43 EST
(
hide
)
Description:
Adding -Wextra flag to gcc c/c++ settings
Filename:
MIME Type:
Creator:
Otavio Pontes
Created:
2011-12-02 11:56:43 EST
Size:
2.25 KB
patch
obsolete
>From 3b0a45d0ac8a2962612132d35b4c8708d8cb054d Mon Sep 17 00:00:00 2001 >From: Otavio Pontes <obusatto@linux.vnet.ibm.com> >Date: Fri, 2 Dec 2011 14:46:04 -0200 >Subject: [PATCH 1/2] Bug 266305: Adding -Wextra flag to gcc c/c++ settings > >--- > .../plugin.properties | 1 + > .../plugin.xml | 16 ++++++++++++++++ > 2 files changed, 17 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 b6eb4cb..2d93857 100644 >--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties >+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties >@@ -141,6 +141,7 @@ 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.Verbose=Verbose (-v) >diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml >index ddc4c31..e6d7ea6 100644 >--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml >+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.xml >@@ -1204,6 +1204,14 @@ > </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" >@@ -1518,6 +1526,14 @@ > </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" >-- >1.7.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266305
:
207852
|
207854