| Summary: | Clang detection in CMake build is incorrect | ||
|---|---|---|---|
| Product: | SDL | Reporter: | vladius <vturbanov> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESPONDED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
| Attachments: |
Robust Clang and libc detection.
NEW Robust Clang and libc detection. |
||
|
Description
vladius
2021-02-09 14:41:49 UTC
Can you attach a tested patch that implements this change? Thanks! Created attachment 4789 [details]
Robust Clang and libc detection.
I'm now successfully detecting the presence of the libc under Clang with the following changes:
Added a patch. (In reply to vladius from comment #2) > Created attachment 4789 [details] > Robust Clang and libc detection. > > I'm now successfully detecting the presence of the libc under Clang with the > following changes: This patch touches things it is not supposed to, e.g.: all changes after about line 400. (In reply to Ozkan Sezer from comment #4) > (In reply to vladius from comment #2) > > Created attachment 4789 [details] > > Robust Clang and libc detection. > > > > I'm now successfully detecting the presence of the libc under Clang with the > > following changes: > > This patch touches things it is not supposed to, e.g.: all > changes after about line 400. You're right. Seems like I've done something wrong. Not quite used to Mercurial as of now. Attaching the correct patch now. Created attachment 4791 [details] NEW Robust Clang and libc detection. Together with a patch from this issue https://bugzilla.libsdl.org/show_bug.cgi?id=5539 Clang now should compile correctly on Windows via CMake. |