Closed Bug 444616 Opened 18 years ago Closed 17 years ago

TT: warning fixup for GCC4.3

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INCOMPLETE

People

(Reporter: benjamin, Unassigned)

Details

Attachments

(1 file)

This fixes two classes of warnings in TT: -wparentheses - forces you to parenthesize expressions like foo && bar || baz because many people don't realize that && binds tighter than || (also & and |). strict-aliasing. There's one warning where we're doing pointer math but really only need to do a const_cast. Also at some point -Werror got turned off for TT. This turns it back on.
Attachment #328933 - Flags: review?(stejohns)
Comment on attachment 328933 [details] [diff] [review] Aliasing and parens fixup for TT, rev. 1 Is there any way we can enable a similar warning in MSVC, to forestall cross-platform build breakage tweaks?
Attachment #328933 - Flags: review?(stejohns) → review+
Turns out this patch breaks other platforms in odd ways, so I haven't landed it. I don't think MSVC has an equivalent warning class to -wparentheses, or at least doesn't warn about the same things.
Assignee: benjamin → nobody
Flags: flashplayer-triage+
ever figure out what the breakages were? otherwise this is a candidate for WONTFIX
No, I don't recall. I don't think this is WONTFIX, though it may be INCOMPLETE until somebody else comes along who cares.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Closing out all TT: transfer bugs that are resolved fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: