C:\WINDOWS\system32\cmd.exe /C ""C:/Program Files/mingw-w64/llvm-mingw-20211002-ucrt-x86_64/bin/mingw32-make.exe" -j12 SHELL=cmd.exe -e -f Makefile" "----------Building project:[ CPlusPlusSandbox - Debug ]----------" mingw32-make.exe[1]: Entering directory 'Z:/Projects/CPlusPlusSandbox' While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:93: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\stdlib.h:766: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\malloc.h:120:25: error: redefinition of '_MarkAllocaS' static __inline void *_MarkAllocaS(void *_Ptr,unsigned int _Marker) { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\malloc.h:120:25: note: previous definition is here static __inline void *_MarkAllocaS(void *_Ptr,unsigned int _Marker) { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:93: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\stdlib.h:766: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\malloc.h:139:32: error: redefinition of '_freea' static __inline void __cdecl _freea(void *_Memory) { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\malloc.h:139:32: note: previous definition is here static __inline void __cdecl _freea(void *_Memory) { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:107:39: error: redefinition of 'abs' inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:107:39: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:111:44: error: redefinition of 'abs' inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:111:44: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:118:40: error: redefinition of 'abs' inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:118:40: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:122:41: error: redefinition of 'abs' inline _LIBCPP_INLINE_VISIBILITY double abs(double __lcpp_x) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:122:41: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY double abs(double __lcpp_x) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:127:1: error: redefinition of 'abs' abs(long double __lcpp_x) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:127:1: note: previous definition is here abs(long double __lcpp_x) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:142:41: error: redefinition of 'div' inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT { ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:142:41: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT { ^ While building module 'std' imported from main.cpp:1: In file included from :17: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/math.h:308: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:146:42: error: redefinition of 'div' inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\stdlib.h:146:42: note: previous definition is here inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, ^ While building module 'std' imported from main.cpp:1: In file included from :31: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/complex.h:28: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\ccomplex:20: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\complex:236: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\iosfwd:98: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\wchar.h:119: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\wchar.h:1339:20: error: conflicting types for 'wcstok' wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t **_Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\string.h:147:20: note: previous declaration is here wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^ While building module 'std' imported from main.cpp:1: In file included from :31: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1/complex.h:28: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\ccomplex:20: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\complex:242: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\sstream:184: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\istream:163: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\ostream:137: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\bitset:122: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\string:527: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\cwchar:107: In file included from C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\c++\v1\wchar.h:119: C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\wchar.h:1339:20: error: conflicting types for 'wcstok' wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim,wchar_t **_Ptr) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^ C:\Program Files\mingw-w64\llvm-mingw-20211002-ucrt-x86_64\include\string.h:147:20: note: previous declaration is here wchar_t *__cdecl wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) __MINGW_ATTRIB_DEPRECATED_SEC_WARN; ^ main.cpp:1:10: fatal error: could not build module 'std' #include ; ~~~~~~~~^ 12 errors generated. mingw32-make.exe[1]: *** [CPlusPlusSandbox.mk:97: Debug/main.cpp.o] Error 1 mingw32-make.exe: *** [Makefile:5: All] Error 2 mingw32-make.exe[1]: Leaving directory 'Z:/Projects/CPlusPlusSandbox' ====1 errors, 11 warnings====