Closed
Bug 670093
Opened 14 years ago
Closed 14 years ago
gfx/2d fails to compile on mingw
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: jacek, Assigned: jacek)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
|
2.72 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
There are two problems:
- Macros __in and __out are not supported by mingw, because they conflict with GCC-provided headers. They are mostly no-op anyways, so just removing them should be fine.
- There are wrong cases in includes, which causes problems when cross compiling on case-sensitive OSes.
Attachment #544754 -
Flags: review?
| Assignee | ||
Updated•14 years ago
|
Attachment #544754 -
Flags: review? → review?(bas.schouten)
Comment 1•14 years ago
|
||
Comment on attachment 544754 [details] [diff] [review]
fix v1.0
The lower/uppercase is actually interesting, as on different SDKs they seem to be shipped with different casing.
| Assignee | ||
Comment 2•14 years ago
|
||
It doesn't matter for Microsoft-provided SDKs. They work only on Windows, which is case-insensitive. Also they change quite often from version to version, so it's impossible to be compatible with them. mingw, however, always uses lower-cases.
| Assignee | ||
Comment 3•14 years ago
|
||
Bas, ping
Comment 4•14 years ago
|
||
Comment on attachment 544754 [details] [diff] [review]
fix v1.0
Review of attachment 544754 [details] [diff] [review]:
-----------------------------------------------------------------
If MinGW always uses lowercases that's fine :). Sorry for the delay, I missed this bug.
Just out of curiosity, now that Visual Studio Express is free, why would anyone -want- to build with MinGW?
Attachment #544754 -
Flags: review?(bas.schouten) → review+
| Assignee | ||
Comment 5•14 years ago
|
||
(In reply to Bas Schouten (:bas) from comment #4)
Thanks for review.
> Just out of curiosity, now that Visual Studio Express is free, why would
> anyone -want- to build with MinGW?
Well, there would be a few reasons like ability to cross compile from Linux or just free software ideology (it's possible to build Windows Firefox without running single line of closed source code). My main reason is that I'm working Wine (www.winehq.org) and we use Gecko for out MSHTML implementation. To make it a proper package, we need to be able to build Gecko on Linux.
| Assignee | ||
Comment 6•14 years ago
|
||
(In reply to Jacek Caban from comment #5)
> To make it a proper package, we need to be able to build Gecko on Linux.
I meant Windows Gecko build here (built on Linux so that distros can package it correctly).
| Assignee | ||
Comment 7•14 years ago
|
||
Whiteboard: [inbound]
Comment 8•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•