Closed
Bug 424650
Opened 16 years ago
Closed 16 years ago
Wrong nsAutoPtr usage break Mingw build
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta5
People
(Reporter: Techrazy.Yang, Assigned: Techrazy.Yang)
References
Details
Attachments
(1 file)
576 bytes,
patch
|
pavlov
:
review+
beltzner
:
approval1.9b5+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
There is one line of code break Mingw build of Firefox trunk. And it is : nsAutoPtr<UniscribeItem> item = us.GetItem(i, this); The mingw gcc complain that it request a conversion between UniscribeItem* to nsAutoPtr<UniscribeItem>. And after I have searh some code of Mozilla, I can't find any similar usage with nsAutoPtr. Maybe this is a Microsoft C compiler only usage? Anyway, I decide to report this as a bug and hope I can get more advice! Thanks!
Change nsAutoPtr<UniscribeItem> item = us.GetItem(i, this); to nsAutoPtr<UniscribeItem> item(us.GetItem(i, this)); to make the compiler not complain.
Comment 3•16 years ago
|
||
Comment on attachment 311240 [details] [diff] [review] A potential patch Thanks for the patch! You need to ask review, if you want the patch to get checked in, eventually.
Attachment #311240 -
Flags: review?(pavlov)
Updated•16 years ago
|
Attachment #311240 -
Flags: review?(pavlov) → review+
Updated•16 years ago
|
Assignee: nobody → Techrazy.Yang
Updated•16 years ago
|
Status: NEW → ASSIGNED
Component: General → GFX: Thebes
Product: Firefox → Core
QA Contact: general → thebes
Comment 4•16 years ago
|
||
Comment on attachment 311240 [details] [diff] [review] A potential patch One-line build fix for mingw.
Attachment #311240 -
Flags: approval1.9b5?
Attachment #311240 -
Flags: approval1.9?
Comment 5•16 years ago
|
||
Comment on attachment 311240 [details] [diff] [review] A potential patch a1.9b5=beltzner
Attachment #311240 -
Flags: approval1.9b5?
Attachment #311240 -
Flags: approval1.9b5+
Attachment #311240 -
Flags: approval1.9?
Attachment #311240 -
Flags: approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 6•16 years ago
|
||
Checking in gfx/thebes/src/gfxWindowsFonts.cpp; /cvsroot/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp,v <-- gfxWindowsFonts.cpp new revision: 1.183; previous revision: 1.182 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta5
You need to log in
before you can comment on or make changes to this bug.
Description
•