! 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 !
Some CFLAGS unrecognized by gcc 2.95 in xffm
Status:
RESOLVED: FIXED

Comments

Description Ambrose LI Cheuk-Wing 2004-09-26 06:44:21 CEST
xffm in HEAD uses -Wunused-function, -Wunused-label, -Wunused-value, and
-Wunused-variable in some of its subdirectories' Makefiles. This results in the
code not being compilable with gcc 2.95.

Removing these flags from the Makefiles fixes the problem.
Comment 1 edscott editbugs 2004-09-26 14:45:42 CEST
-Wunused* directives removed from makefiles
Comment 2 Ambrose LI Cheuk-Wing 2004-09-27 14:45:51 CEST
These flags reappared in the latest CVS. Are these things auto-generated?
Comment 3 edscott editbugs 2004-09-27 15:25:56 CEST
The generation of makefiles is:
Makefile.am -> Makefile.in -> Makefile,

So that changing Makefile.am is enough. Perhaps your Makefiles have not been
regenerated. Do a "make distclean && ./configure" to regenerated them. Maybe
that's why you still have the flags. 
Comment 4 Ambrose LI Cheuk-Wing 2004-09-27 16:25:56 CEST
I think xfdiff4's Makefile.am seems to not have the unused-* removed.
Comment 5 edscott editbugs 2004-09-27 16:36:29 CEST
That is correct. I have now removed the flags from xfdiff makefiles at CVS.
Comment 6 Jasper Huijsmans editbugs 2004-10-27 13:11:45 CEST
Judging from the comments this should have been resolved as FIXED.

Bug #335

Reported by:
Ambrose LI Cheuk-Wing
Reported on: 2004-09-26
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information