Closed
Bug 771925
Opened 13 years ago
Closed 13 years ago
Extra semicolon warnings (-Werror, -Wextra-semi)
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
People
(Reporter: nical, Unassigned)
Details
Attachments
(5 obsolete files)
I just switched from gcc to clang, and with my config having "ac_add_options --enable-warnings-as-errors", I see a lot of extra semicolons warning (which become errors with my mozconfig).
These warnings are in most cases very easy to fix, I propose that we fix as many as we can in this bug.
Reporter | ||
Comment 1•13 years ago
|
||
I start with a bunch of these warnings from GLContext.h
At the same time I am moving from hg to git, so I hope the patch is forwatted correctly.
Attachment #640098 -
Flags: review?(jmuizelaar)
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Comment on attachment 640098 [details] [diff] [review]
Fixes extra semicolons after function definitions in GLContext.h and GLContextProviderGLX.cpp
Looks like the patch is backwards, but otherwise looks fine to me
Attachment #640098 -
Flags: review?(jmuizelaar) → review+
Reporter | ||
Comment 6•13 years ago
|
||
fixed the patch formatting
Attachment #640098 -
Attachment is obsolete: true
Attachment #643233 -
Flags: checkin?(jmuizelaar)
Reporter | ||
Comment 7•13 years ago
|
||
Comment on attachment 643233 [details] [diff] [review]
Fixes extra semicolons after function definitions in GLContext.h and GLContextProviderGLX.cpp
It looks like someone fixed it in another bug
Attachment #643233 -
Attachment is obsolete: true
Attachment #643233 -
Flags: checkin?(jmuizelaar)
Reporter | ||
Comment 8•13 years ago
|
||
Comment on attachment 640105 [details] [diff] [review]
Fixes extra semicolons after function definitions in various files.
It looks like someone fixed it in another bug
Attachment #640105 -
Attachment is obsolete: true
Reporter | ||
Comment 9•13 years ago
|
||
Comment on attachment 640103 [details] [diff] [review]
Fixes extra semicolons after function definitions in SVGAnimatedPreserveAspectRatio.h.
It looks like someone fixed it in another bug
Reporter | ||
Comment 10•13 years ago
|
||
Comment on attachment 640103 [details] [diff] [review]
Fixes extra semicolons after function definitions in SVGAnimatedPreserveAspectRatio.h.
It looks like someone fixed it in another bug
Attachment #640103 -
Attachment is obsolete: true
Reporter | ||
Updated•13 years ago
|
Attachment #640101 -
Attachment is obsolete: true
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•