Discussion:
[bug #46939] -Werror set for GSSpeechServer
Niels Grewe
2016-01-20 21:23:16 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?46939>

Summary: -Werror set for GSSpeechServer
Project: GNUstep
Submitted by: thebeing
Submitted on: Mi 20 Jan 2016 21:23:15 GMT
Category: Gui/AppKit
Severity: 2 - Minor
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

Currently, the GSSpeechServer tool is really difficult to get to build because
it sets the -Werror flag on all source files. I stumbled upon this recently
when I wrote my VM build scripts, but see also
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811928.

Philosophically speaking, I'm quite in favour of -Werror (no warnings means no
petty little problems to obscure big ones), but we don't do it anywhere else
(as far as I'm aware), so it might make sense to remove it?

Cheers,

Niels




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46939>

_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
matt rice
2016-01-20 22:51:21 UTC
Permalink
Follow-up Comment #1, bug #46939 (project gnustep):

An alternative proposal,

to just remove it for standard builds
I'm not sure there is currently a way with gnustep-make, if so i missed it in
the documentation.

something like:
DEBUG_OBJCFLAGS=-Werror

so it only occurrs during make debug=yes,
I'm not sure i'm entirely on board with this (that is i see the debian bug you
provide has -g), that said it also has optimization flags, which I thought
debug=yes disabled.

so they may be passing -g in manually rather than using make debug=yes.

a lot of projects also will only enable it if maintainer mode has been enabled
with ./configure --enable-maintainer-mode

or if the version is checked out from version control (e.g. a .git dir exists)
as this is removed from the release tarball.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46939>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2018-01-21 13:34:43 UTC
Permalink
Update of bug #46939 (project gnustep):

Status: None => Fixed
Assigned to: None => FredKiefer
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #2:

I just did remove the line that set this flag. I think it is better to have
consistent compiler parameter over the whole project and not specific ones for
one tool.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?46939>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...