Closed
Bug 623132
Opened 14 years ago
Closed 13 years ago
Add constructor for nsCaseInsensitiveCStringComparator (which inherits from nsCStringComparator) to placate CLang
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: espindola, Assigned: espindola)
References
Details
Attachments
(1 file)
513 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
nsCaseInsensitiveCStringComparator is missing a user defined constructor, but in mozStorageStatement.cpp a const variable of this type is defined. This is not valid c++. For more information see "Default initialization of const variable of a class type requires user-defined default constructor" in http://clang.llvm.org/compatibility.html#c++
Assignee | ||
Updated•14 years ago
|
Attachment #501257 -
Attachment is patch: true
Attachment #501257 -
Attachment mime type: application/octet-stream → text/plain
Attachment #501257 -
Flags: review?(smontagu)
Assignee | ||
Updated•14 years ago
|
Blocks: clang-macosx
The reporter's summary and initial comment were both lame. I'm merely adjusting the summary and providing a better link. I am not passing judgement on the quality of the bug report. http://clang.llvm.org/compatibility.html#default_init_const
Summary: Missing constructor → Add constructor for nsCaseInsensitiveCStringComparator (which inherits from nsCStringComparator) to placate CLang
Comment 2•14 years ago
|
||
Comment on attachment 501257 [details] [diff] [review] patch I have the same question as in bug 623116 comment 3, but anyway bsmedberg should review in XPCOM.
Attachment #501257 -
Flags: review?(smontagu) → review?(benjamin)
Updated•13 years ago
|
Attachment #501257 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #501257 -
Flags: approval2.0?
Assignee | ||
Updated•13 years ago
|
Attachment #501257 -
Flags: approval2.0?
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b26e0f9e43e8
Status: NEW → RESOLVED
Closed: 13 years ago
No longer depends on: post2.0
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•