diff options
| author | Stefan Boberg <[email protected]> | 2026-03-13 17:06:39 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-13 17:06:39 +0100 |
| commit | 3abde8d88bde436dce423eae9edee0f4e8af915a (patch) | |
| tree | 885ae916a94c9b350d72717666f43e78bef88d4e /src/zencore/include | |
| parent | Unix Domain Socket auto discovery (#833) (diff) | |
| download | zen-3abde8d88bde436dce423eae9edee0f4e8af915a.tar.xz zen-3abde8d88bde436dce423eae9edee0f4e8af915a.zip | |
Add clang-cl build support
- Add clang-cl warning suppressions in xmake.lua matching Linux/macOS set
- Guard /experimental:c11atomics with {tools="cl"} for MSVC-only
- Fix long long / int64_t redefinition in string.h for clang-cl
- Fix unclosed namespace in callstacktrace.cpp #else branch
- Fix missing override in httpplugin.cpp
- Reorder WorkerPool fields to match designated initializer order
- Use INVALID_SOCKET instead of SOCKET_ERROR for SOCKET comparisons
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/include/zencore/string.h b/src/zencore/include/zencore/string.h index 5a8a66fae..7b46f0e38 100644 --- a/src/zencore/include/zencore/string.h +++ b/src/zencore/include/zencore/string.h @@ -331,7 +331,7 @@ public: return AppendAscii(Str); } -#if defined(__clang__) && !defined(__APPLE__) +#if defined(__clang__) && !defined(__APPLE__) && !defined(_MSC_VER) /* UE Toolchain Clang has different types for int64_t and long long so an override is needed here. Without it, Clang can't disambiguate integer overloads */ inline StringBuilderImpl& operator<<(long long n) |