! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Removing the -W from the CFLAGS in advance
Status:
RESOLVED: WONTFIX
Severity:
trivial
Product:
Xfce4-dev-tools
Component:
General

Comments

Description Daichi Kawahata editbugs 2007-05-20 12:25:20 CEST
User-Agent:       Mozilla/5.0 (X11; U; IRIX64 IP35; ja; rv:1.8.1.3) Gecko/R-A-C Firefox/2.0.0.3
Build Identifier: 

Hi Benedikt,

It's a long standing cosmetic problem for me...

That is;

  $ echo $CFLAGS
  -O2 -g -W -Wall -Wformat=2 -mips4

As you see, I've put -W to my CFLAGS which brings a compilation failure
when it's used with -Werror.

Is it possible to check whether -W is there in CFLAGS in xdt-autogen,
if it exists, then remove/override it?

Reproducible: Always

Steps to Reproduce:
1. ./autogen.sh
2. make
Comment 1 Benedikt Meurer editbugs 2007-05-22 16:51:37 CEST
Wouldn't it be easier if you simply drop the -W from the CFLAGS? ;-)
Comment 2 Daichi Kawahata editbugs 2007-05-27 12:29:17 CEST
(In reply to comment #1)
> Wouldn't it be easier if you simply drop the -W from the CFLAGS? ;-)

Maybe...

OK never mind, close this bug account with WONTFIX bitte.
Comment 3 Benedikt Meurer editbugs 2007-07-20 17:17:51 CEST
Yessir :-)

Bug #3252

Reported by:
Daichi Kawahata
Reported on: 2007-05-20
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information