Closed
Bug 724864
Opened 13 years ago
Closed 13 years ago
perfprobe.cpp doesn't compile on mingw
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: jacek, Assigned: jacek)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
4.54 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
GCC doesn't accept friend statement without class keyword. Also mingw doesn't provide __in macro because it would conflict with std headers. Since they are no-op, removing them won't harm.
This I was at this, I've also fixed warnings about constructor initialization order and pointer to integer cast (TRACEHANDLE is an integer, while NULL is a pointer).
Attachment #595011 -
Flags: review?(dteller)
Comment 1•13 years ago
|
||
Comment on attachment 595011 [details] [diff] [review]
fix v1.0
Review of attachment 595011 [details] [diff] [review]:
-----------------------------------------------------------------
Interesting. You have my r+ provided it passes TryServer.
Interestingly, I have not noticed any warnings when compiling with VS2010.
Attachment #595011 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to David Rajchenbach Teller [:Yoric] from comment #1)
> Interesting. You have my r+ provided it passes TryServer.
Passed here: https://tbpl.mozilla.org/?tree=Try&rev=4c6837e03594
> Interestingly, I have not noticed any warnings when compiling with VS2010.
VS is generally less strict about that stuff (at least by default).
Thanks for the review, pushed to m-i:
https://hg.mozilla.org/integration/mozilla-inbound/rev/537e79b20314
Whiteboard: [inbound]
Comment 3•13 years ago
|
||
Thank you for the (very quick) fix.
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•