Closed
Bug 381329
Opened 17 years ago
Closed 16 years ago
Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahaas, Assigned: ahaas)
Details
Attachments
(1 file, 1 obsolete file)
17.37 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070519 SeaMonkey/1.5a Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070519 SeaMonkey/1.5a Hi. Building Firefox will fail with the development GCC-4.3 compiler due to extra semi-colons in the code and the '-pedantic' flag. Reproducible: Always Steps to Reproduce: 1. Install GCC-4.3 snapshot. 2. Configure and build Firefox. 3. Start 'make' and let things rip. Actual Results: Build fails. Expected Results: Build succeeds. I'll attach a patch which removes the extra semi-colons in three files.
Here's a better patch - in addition to fixing the three files I found problems with in my Firefox build, I did a SeaMonkey build with GCC-4.3 and removed the extra semi-colons from files used during the building of the mail/news client.
Attachment #265422 -
Attachment is obsolete: true
Should have also added that the patch adds a missing newline to nsRssService.cpp; the lack of a new-line also causes GCC-4.3 and '-pedantic' to error out when compiling this file.
Attachment #265469 -
Flags: review?(roc)
Attachment #265469 -
Flags: superreview+
Attachment #265469 -
Flags: review?(roc)
Attachment #265469 -
Flags: review+
Comment 4•17 years ago
|
||
Confirming and reassigning since this has an r/sr'd patch.
Assignee: nobody → ahaas
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [checkin needed]
Updated•17 years ago
|
Attachment #265469 -
Attachment is patch: true
Comment 5•17 years ago
|
||
" Patch removing extra semi-colon characters" checked in (with some trivial bitrot fixed). Clearing checkin-needed status.
Whiteboard: [checkin needed]
Comment 6•16 years ago
|
||
Art's patch has been checked in and current trunk builds for me with GCC 4.3. Resolving bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•