Closed Bug 360829 Opened 19 years ago Closed 18 years ago

Removal of compiler warnings in Tamarin builds

Categories

(Tamarin Graveyard :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(2 files)

Tamarin coding guidelines require clean, warning-free compiles at the highest pragmatic warning levels available for a given compiler. The current Tamarin tree has various warnings disabled for historical purposes; this bug is intended to accumulate patches that will allow re-enablement of as many compiler warnings as is deemed practical.
Comment on attachment 245688 [details] [diff] [review] Enabling of various warnings in XCode, VS2003, VS2005, with code changes as needed. Should kIncrementalMarkDelayTicks and kMarkSweepBurstTicks be uintptr values instead of uint64?
Attachment #245688 - Flags: review?(wsharp) → review+
checked in patch. leaving open for subsequent warning enablement that is likely to occur over the short-term future.
Enable and remove all "hidden virtual function" warnings. Definitely latent bugs here and involved many renamings of getProperty -> getAtomProperty, getStringProperty, etc. Passed checkin test on mac and windows. Also renamed "Release Debugger" and "Debug Debugger" builds to convert space to underscore, to make cygwin work easier.
Attachment #246205 - Flags: review?(edwsmith)
Attachment #246205 - Flags: review?(edwsmith) → review+
Committed patch to trunk.
Usually when checking in something to cvs, the comment includes also the name of the reviewer.
Oops! Sorry. r=edwsmith@adobe.com
(In reply to comment #7) Actually, I think what was meant is that the *CVS* comment includes the reviewer, so instead of: > Bug 360829: Removal of compiler warnings in Tamarin. Enabled (and fixed) many > hidden-virtual-function warnings. for the checkin comment, you would have used: > Bug 360829: Removal of compiler warnings in Tamarin. Enabled (and fixed) many > hidden-virtual-function warnings. r=edwsmith (Note the r= at the end.) In general, every CVS commit message should include: - bug # - brief summary of the bug being fixed, usually a sentence or two - patch author (with email if author isn't a common contributor of patches) if the person doing the commit didn't write the patch, e.g. "Patch by J. Arthur Random <jarthur@example.org>" - reviewers (usually in the form "r=foopy") You can also trawl through commit messages made by other people to see what the usual style is: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=2006-11-21+14%3A47%3A01&maxdate=1970-12-31+16%3A00%3A01&cvsroot=%2Fcvsroot
Thanks for the reminder. In theory, I know the expected protocol, but in practice, I'm still adjusting myself to it... hopefully I will avoid such omissions in the future :-)
Transfer Bug from Core->Tamarin to Tamarin Product.
Component: Tamarin → Build Config
Product: Core → Tamarin
Version: Trunk → unspecified
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: flashplayer-review+
Resolution: --- → FIXED
marking as resolved since fix was submitted.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: