Turned on all the warnings I could handle and made them into errors then fixed them all. Worldbuilder needs a refactor in random_path.
This commit is contained in:
parent
f3f875ee80
commit
128fc4f540
19 changed files with 85 additions and 85 deletions
2
scripts/quick_clean.ps1
Normal file
2
scripts/quick_clean.ps1
Normal file
|
@ -0,0 +1,2 @@
|
|||
rm -recurse -force .\builddir\runtests.exe*
|
||||
rm -recurse -force .\builddir\roguish.exe*
|
|
@ -4,4 +4,13 @@ mkdir subprojects
|
|||
mv .\packagecache .\subprojects\
|
||||
mkdir builddir
|
||||
cp wraps\*.wrap subprojects\
|
||||
|
||||
# clang doesn't actually work on Windows, it almost works but Catch2 fails to link against librt, look at https://mesonbuild.com/Builtin-options.html#compiler-options also there's a bug for it https://github.com/brechtsanders/winlibs_mingw/issues/127
|
||||
# -fsafe-buffer-usage-suggestions
|
||||
|
||||
# $env:CC="clang"
|
||||
# $env:CXX="clang++"
|
||||
# $env:CC_LD="lld"
|
||||
# $env:CXX_LD="lld"
|
||||
|
||||
meson setup --default-library=static --prefer-static builddir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue