Closed Bug 757060 Opened 8 years ago Closed 8 years ago

redit fails to compile on mingw due to wmain linkage error

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 15

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
mingw in mingw-w64 version has limited support for wmain entry point, which was introduced by bug 753123. It requires explicit -municode in linker options and explicit extern "C" in source. The attached patch takes care of that.
Attachment #625656 - Flags: review?(mh+mozilla)
Attachment #625656 - Flags: review?(mh+mozilla) → review+
Thanks for quick review!

https://hg.mozilla.org/integration/mozilla-inbound/rev/eef8337cde96
Target Milestone: --- → Firefox 15
https://hg.mozilla.org/mozilla-central/rev/eef8337cde96
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.