Closed Bug 623119 Opened 14 years ago Closed 14 years ago

exception_raise_state exception_raise_state_identity have Duplicated parameter name thread_state_count

Categories

(Toolkit :: Crash Reporting, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b10

People

(Reporter: espindola, Assigned: espindola)

References

Details

Attachments

(2 files)

There are sum functions declared with duplicated parameters name. That is not valid c++. See "Parameter name lookup" in http://clang.llvm.org/compatibility.html#c++
Attachment #501235 - Attachment is patch: true
Attachment #501235 - Attachment mime type: application/octet-stream → text/plain
Attachment #501235 - Flags: review?(ted.mielczarek)
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#param_name_lookup
Summary: Duplicated parameter name → exception_raise_state exception_raise_state_identity have Duplicated parameter name thread_state_count
Comment on attachment 501235 [details] [diff] [review]
Rename duplicates

one's an out variable, either they should use a polish notation or an out indicator, this is the wrong fix.
Attachment #501235 - Flags: review?(ted.mielczarek) → review-
Sorry, I am not sure that I follow. This is not a style question. The code is invalid c++. I will upstream the patch if it is already not there, but really need to rename of the arguments.
He's saying (and I agree), that your chosen replacement names kind of suck, that's all. I can land these patches upstream for you once we get them all reviewed.
Assignee: nobody → respindola
Attachment #501326 - Flags: review? → review?(ted.mielczarek)
Comment on attachment 501326 [details] [diff] [review]
copy of the patch sent upsteram

r+ed upstream as well. I'll coordinate landing all these in a bit.
Attachment #501326 - Flags: review?(ted.mielczarek) → review+
Attachment #501326 - Flags: approval2.0?
Attachment #501326 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/3915ec30a832
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: