| Summary: | [patch] Haiku build broken | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alexander von Gluck IV <kallisti5> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.0 | ||
| Hardware: | All | ||
| OS: | Haiku | ||
| Attachments: | proposed patch v1 | ||
|
Description
Alexander von Gluck IV
2013-08-19 02:15:59 UTC
Created attachment 1295 [details]
proposed patch v1
SDL2 compiles and generates static libraries on Haiku gcc2 and gcc4 with these changes.
The default build for SDL is a shared library. Does the DECLSPEC change break shared library building on gcc 4? The std:: fix is in, thanks! http://hg.libsdl.org/SDL/rev/60ef3ee24bca The DECLSPEC change is mostly a cosmetic fix. There are thousands of attribute ignored warnings without the change. I know the shared library building works completely (without warnings) with the attached patch on gcc2 and gcc4 Haiku. Let me test without and see if it makes a difference in the resulting libraries. The last else case is to catch non-gcc compilers on BeOS (i assume) the use case for it is pretty dry though. Okay, looking closer this is a good change. Can you check my variation on your patch? http://hg.libsdl.org/SDL/rev/7a8955fe2f63 Thanks! looks fine to me :) Thanks! Great, thanks! |