Closed Bug 735194 Opened 14 years ago Closed 14 years ago

gfxDWriteFontList.cpp fails to compile on mingw

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
It's mostly because mingw can't provide macros like __in as they would conflict with c++ standard includes. It's no-op anyways so it's safe to remove it. Also Interlocked* functions take long*, not usigned long*, as argument, so I've changed mRefCount's type. While I was at this I've fixed warnings (signed-unsigned compare, NULL instead of 0 for integer args and unused variables).
Attachment #605343 - Flags: review?(jdaggett)
Comment on attachment 605343 [details] [diff] [review] fix v1.0 Sorry, I'm not really sure I understand how to review your changes. Switching this review to bas, who may understand these issues better than I do.
Attachment #605343 - Flags: review?(jdaggett) → review?(bas.schouten)
Bas, ping
Comment on attachment 605343 [details] [diff] [review] fix v1.0 Review of attachment 605343 [details] [diff] [review]: ----------------------------------------------------------------- Nothing objectionable here if it makes both mingw and MSVC happy.
Attachment #605343 - Flags: review?(bas.schouten) → review+
Target Milestone: --- → mozilla14
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: