diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 69fbcd4..0932e96 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -14,8 +14,8 @@ "GRAPHICS_API_OPENGL_33", "PLATFORM_DESKTOP" ], - "cStandard": "c99", - "cppStandard": "c++14", + "cStandard": "c17", + "cppStandard": "c++17", "intelliSenseMode": "gcc-x64" }, { @@ -36,8 +36,8 @@ "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" ], "compilerPath": "/usr/bin/clang", - "cStandard": "c11", - "cppStandard": "c++14", + "cStandard": "c17", + "cppStandard": "c++17", "intelliSenseMode": "clang-x64" }, { @@ -55,8 +55,8 @@ "PLATFORM_DESKTOP" ], "compilerPath": "/usr/bin/clang", - "cStandard": "c11", - "cppStandard": "c++14", + "cStandard": "c17", + "cppStandard": "c++17", "intelliSenseMode": "clang-x64" } diff --git a/build-MinGW-W64.bat b/build-MinGW-W64.bat index 04894a6..379d454 100644 --- a/build-MinGW-W64.bat +++ b/build-MinGW-W64.bat @@ -1,5 +1,5 @@ cd build premake5.exe gmake2 cd .. -make SHELL=CMD clean -pause \ No newline at end of file +mingw32-make SHELL=CMD clean +pause diff --git a/build/premake5.lua b/build/premake5.lua index 49c23b5..91155dc 100644 --- a/build/premake5.lua +++ b/build/premake5.lua @@ -167,7 +167,7 @@ if (downloadRaylib) then links {"raylib"} - cdialect "C99" + cdialect "C17" cppdialect "C++17" includedirs {raylib_dir .. "/src" }