Closed
Bug 547714
Opened 16 years ago
Closed 16 years ago
nsDeviceContextSpecWin.cpp compilation failure on mingw gcc 4.5
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jacek, Assigned: jacek)
Details
Attachments
(1 file)
|
2.69 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
I get following error on gcc 4.5:
nsDeviceContextSpecWin.cpp:1030:3: error: cannot pass objects of non-trivially-copyable type 'class nsString' through '...'
It's in following line, where we try to pass nsString instead of the real string to PR_LogPrint:
PR_PL(("DEFAULT PRINTER [%s]\n", aDefaultPrinterName));
While I was at it, I've also fixed a few compiler warnings (unused variables, NULL in numeric arithmetic and comparison between signed and unsigned integers).
| Assignee | ||
Updated•16 years ago
|
Attachment #428199 -
Attachment is patch: true
Attachment #428199 -
Flags: review?(roc)
Attachment #428199 -
Flags: review?(roc) → review+
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Assignee: nobody → jacek
| Assignee | ||
Comment 1•16 years ago
|
||
Thanks for landing.
http://hg.mozilla.org/mozilla-central/rev/0fc376e66e74
You need to log in
before you can comment on or make changes to this bug.
Description
•