| Summary: | SDL2 include fails with Clang (llvm) 3.6 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | mattreecebentley |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | dmikoss |
| Version: | 2.0.5 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
|
Description
mattreecebentley
2015-03-11 08:24:40 UTC
Have now tested with a local build of latest mercurial, no change. HI i am use clang in visual studio 2015 and trying to compile SDL. Some errors: " 1>C:\Dev\waytrel2\src\3rdparty\sdl\src\video\SDL_fillrect.c(103,5): error : member reference base type '__m128' (vector of 4 'float' values) is not a structure or union 1> SSE_BEGIN; 1> ^~~~~~~~~ 1> C:\Dev\waytrel2\src\3rdparty\sdl\src\video\SDL_fillrect.c(33,9): note: expanded from macro 'SSE_BEGIN' " this can be fixed by "#if defined(_MSC_VER) && !defined(__clang__)" in "src\video\SDL_fillrect.c". Some warnings: warning : '__SSE__' macro redefined [-Wmacro-redefined] and warnings related to _ReadWriteBarrier. |