| Summary: | (cmake) static linking causes __ftol2_sse multiple definitions error | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Wouter van Oortmerssen <aardappel> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
|
Description
Wouter van Oortmerssen
2014-11-07 22:17:31 UTC
(In reply to Wouter van Oortmerssen from comment #0) > add_definitions(-DHAVE_LIBC) > add_definitions(-DHAVE_STDIO_H) > > I have no idea why these are off by default on Windows anyway. They are off because on Windows, SDL doesn't use the C runtime library at all. (except, apparently, for __ftol2_sse, which it shouldn't.) I could have sworn we fixed this recently, but I don't know where at the moment. --ryan. Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! |