Closed
Bug 688551
Opened 14 years ago
Closed 14 years ago
Fixing GCC 4.6 warnings from bug 684526
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla9
People
(Reporter: igor, Assigned: igor)
References
Details
Attachments
(1 file)
|
1.04 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
With the landing of the bug #684526 I got the warning on every include of jsapi.h:
/home/igor/m/mc/js/src/jsapi.h: In destructor ‘JS::Anchor<T>::~Anchor() [with T = JS::Value]’:
/home/igor/m/mc/js/src/jsapi.h:800:21: warning: variable ‘bits’ set but not used [-Wunused-but-set-variable]
The attached patch fixes that by specializing Anchor destructor for Value only outside GCC.
Attachment #561810 -
Flags: review?(luke)
Comment 1•14 years ago
|
||
Comment on attachment 561810 [details] [diff] [review]
fix
Oops; sorry.
Attachment #561810 -
Flags: review?(luke) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
Assignee: nobody → igor
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•