Closed
Bug 536259
Opened 15 years ago
Closed 15 years ago
TestWinTSF.cpp fails to compile on new mingw.
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: jacek, Assigned: jacek)
References
Details
Attachments
(1 file)
470 bytes,
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
mingw (compiled from 4.4 SVN GCC branch) fails with error: widget/tests/TestWinTSF.cpp:55: ../../dist/include/nsAutoPtr.h: In member function 'U& nsRefPtr<T>::operator->*(U V::*) [with U = PRBool(), V = TestApp, T = TestApp]': /home/jacek/mozilla-build/wine-gecko-git/widget/tests/TestWinTSF.cpp:1427: instantiated from here ../../dist/include/nsAutoPtr.h:1110: error: invalid use of non-static member function It looks surprisingly, but the workaround is simply avoiding using ->* operator. Both commenting it in nsAutoPtr and using *() operator workaround it. I've attached the second solution.
Assignee | ||
Updated•15 years ago
|
Attachment #418726 -
Attachment is patch: true
Attachment #418726 -
Flags: review?(chenn)
Comment 1•15 years ago
|
||
Comment on attachment 418726 [details] [diff] [review] fix Thanks!
Attachment #418726 -
Flags: review?(chenn) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Assignee: nobody → jacek
Comment 2•15 years ago
|
||
Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/8eb57fa656b8.
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in
before you can comment on or make changes to this bug.
Description
•