Closed
Bug 462495
Opened 16 years ago
Closed 16 years ago
[redux] -Wextra and other mop-up work
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: lhansen, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
17.28 KB,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
I turned on -Wextra in the MacOS project file because I need it to diagnose when a "register" variable is being passed by reference or has its address taken - part of the ongoing interpreter cleanup. Doing so turned up one real bug (in StringBuilder.cpp; I guess we're trying to delete that file but until we do it's still a bug) and several silly comparisons, plus a bunch of warnings about non-volatile vars being clobbered by longjmp. I've tidied this up; enclosed.
Also in the patch is a change to uniformly turn off C++ exceptions in the Xcode projects. It looks like the configure.py script does this already for release builds.
Also in the patch is a change to the VC2008 project files to include WordcodeTranslator.cpp; nobody has noticed the absence because it's not normally needed.
(cc'ing Ed & Rick because of a cast inserted in CodegenMIR.cpp.)
Reporter | ||
Comment 1•16 years ago
|
||
Attachment #345684 -
Flags: review?(stejohns)
Comment 2•16 years ago
|
||
Comment on attachment 345684 [details] [diff] [review]
Patch
I'll never turn down an opportunity to increase warning levels! :-)
Attachment #345684 -
Flags: review?(stejohns) → review+
Reporter | ||
Comment 3•16 years ago
|
||
Resubmitting because I turned on -Wextra for the MMgc project too and also compiled with _DEBUG and DEBUGGER turned on - uncovered more gremlins, unsurprisingly.
Attachment #345684 -
Attachment is obsolete: true
Attachment #346032 -
Flags: review?(stejohns)
Updated•16 years ago
|
Attachment #346032 -
Flags: review?(stejohns) → review+
Reporter | ||
Comment 4•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•