Closed
Bug 444616
Opened 18 years ago
Closed 17 years ago
TT: warning fixup for GCC4.3
Categories
(Tamarin Graveyard :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
INCOMPLETE
People
(Reporter: benjamin, Unassigned)
Details
Attachments
(1 file)
|
16.06 KB,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
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 1•18 years ago
|
||
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+
| Reporter | ||
Comment 2•17 years ago
|
||
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
Updated•17 years ago
|
Flags: flashplayer-triage+
Comment 3•17 years ago
|
||
ever figure out what the breakages were? otherwise this is a candidate for WONTFIX
| Reporter | ||
Comment 4•17 years ago
|
||
No, I don't recall. I don't think this is WONTFIX, though it may be INCOMPLETE until somebody else comes along who cares.
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Comment 5•16 years ago
|
||
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.
Description
•