diff options
| author | Martin Ridgers <[email protected]> | 2021-10-01 11:28:33 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-01 11:28:33 +0200 |
| commit | 186d9df01dce00af465c2b3e21277d3bb99c9e4c (patch) | |
| tree | a92fa1ec9ade01c6424b6ba26195d9e0da2f95c3 | |
| parent | Added some instructions for building on Linux (diff) | |
| download | zen-186d9df01dce00af465c2b3e21277d3bb99c9e4c.tar.xz zen-186d9df01dce00af465c2b3e21277d3bb99c9e4c.zip | |
Removed `-fshort-wchar` compiler flag on Linux
| -rw-r--r-- | xmake.lua | 1 | ||||
| -rw-r--r-- | zencore/include/zencore/zencore.h | 2 |
2 files changed, 0 insertions, 3 deletions
@@ -47,7 +47,6 @@ if is_os("windows") then end if is_os("linux") then - add_cxxflags("-fshort-wchar") add_cxxflags("-Wno-unused-variable") add_cxxflags("-Wno-unused-parameter") add_cxxflags("-Wno-strict-aliasing") diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index ba988f74a..136ed2944 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -64,8 +64,6 @@ # pragma warning(disable : 4324) // warning C4324: '<type>': structure was padded due to alignment specifier #endif -static_assert(sizeof(wchar_t) == 2, "wchar_t is larger than expected"); - ////////////////////////////////////////////////////////////////////////// // Architecture // |