Closed Bug 6003 Opened 26 years ago Closed 26 years ago

'g++ -Wsign-compare' doesn't work in g++ 2.7.2.1.

Categories

(SeaMonkey :: Build Config, defect, P3)

x86
FreeBSD
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lennox, Assigned: alecf)

Details

Attachments

(1 file)

g++ 2.7.2.1 (the version of g++ that ships with FreeBSD 3.x) doesn't understand the -Wsign-compare warning flag. (I guess it's either a gcc 2.8 or an egcs thing.) This causes the build to abort as soon as it hits its first g++-compiled file. Since I just got my fix checked in this afternoon to build with 2.7.2.1 on FreeBSD 3, this is a pity. The simple solution would be to take -Wsign-compare out of the list of g++ warning flags, but that's boring. :-) I've written an autoconf test to find out automatically which -W flags gcc understands. (This also lets me put -Wno-long-long back, for gcc/egcs versions that understand it.)
Assignee: briano → alecf
Reassigning to alecf. I made him aware of this yesterday, so he's working on it.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed this yesterday
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: