| Summary: | SDL2 cannot be compiled with CLANG, LLVM-vs2014, vs2017, v141 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Paul <Paul.Hancock.17041993> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | 2.0.5 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
| Attachments: |
result of building via LLVM-vs2014 chain
remaining warnings after removing files |
||
Created attachment 2767 [details]
remaining warnings after removing files
Ok, after removing SDL_string.c and SDL_fillrect.c, it compiled with a long list of warnings that need fixing, which might be fine for now as I don't need either of those components...
I will also note, some log and build directories need fixing in cmake as it currently places them outside the build tree, you'll see which ones when you do a full build. This is partially fixed with this commit, allowing SDL applications to build with clang on Visual Studio: https://hg.libsdl.org/SDL/rev/6ae35c5f7f7b We don't currently support building SDL with LLVM on Windows, so I'm lifting this bug from blocking the 2.0.6 release. Please feel free to submit a patch if you implement this yourself. |
Created attachment 2766 [details] result of building via LLVM-vs2014 chain Flooded with bad defines and cant find identifiers correctly, bad includes.