Created attachment 418726 [details] [diff] [review] fix 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.
Comment on attachment 418726 [details] [diff] [review] fix Thanks!
Attachment #418726 - Flags: review?(chenn) → review+
Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/8eb57fa656b8.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.