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)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix — — 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).
Attachment #428199 - Attachment is patch: true
Attachment #428199 - Flags: review?(roc)
Keywords: checkin-needed
Assignee: nobody → jacek
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: