Closed
Description
Of course, I understand that it is better to build it in an Docker environment, but because of RapidJSON, it cannot be built with the latest MinGW toolchain.
Please apply this patch or update libs.
diff --git a/external/rapidjson/document.h b/external/rapidjson/document.h
index 151f5de..12a98ee 100644
--- a/external/rapidjson/document.h
+++ b/external/rapidjson/document.h
@@ -329,7 +329,7 @@ struct GenericStringRef {
operator const Ch *() const { return s; }
const Ch* const s; //!< plain CharType pointer
- const SizeType length; //!< length of the string (excluding the trailing NULL terminator)
+ unsigned int length; //!< length of the string (excluding the trailing NULL terminator)
private:
//! Disallow construction from non-const array
Step by reproduce:
- Install MSYS2
$ pacman -Syu
$ pacman -S mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain
- Open CLion and configure toolchain.
- Build