Closed Bug 444383 Opened 17 years ago Closed 17 years ago

GCC 4.3.0 - extra "parens" warnings break the build

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

With GCC 4.3, I get a lot of the following kind of warning-as-error in t-c: /builds/actionmonkey/src/js/tamarin/core/StringObject.h: In member function ‘avmplus::Atom avmplus::String::getIntAtom() const’: /builds/actionmonkey/src/js/tamarin/core/StringObject.h:433: error: suggest parentheses around arithmetic in operand of | I'm happy to add parens in all these cases, but I tend to think that makes the code uglier and would prefer to disable the parenthesis warning class... let me know if you'd instead like the patch to add parens in all the suggested places (several hundred of them).
Attachment #328705 - Flags: review?(stejohns)
For T-C, let's just disable the warning. If we see similar issues in TT, let's try to correct the code instead... I still want to keep TT as warning-strict as possible.
Attachment #328705 - Flags: review?(stejohns) → review+
Pushed tamarin-central:b8f4900be2b3 I'll open a separate bug if/when I need to deal with TT.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: