Hello,
I’m trying to compile my 4.27 project to UE5 and i get a ton of errors on msvc’s filesystem.
A few example:
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C4003: not enough arguments for function-like macro invocation 'concat'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C4227: anachronism used: qualifiers on reference are ignored
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2988: unrecognizable template declaration/definition
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2143: syntax error: missing ';' before '&'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2365: '_Src': redefinition; previous definition was 'template parameter'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(892): note: see declaration of '_Src'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2238: unexpected token(s) preceding ';'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2059: syntax error: '&'
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(893): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\INCLUDE\filesystem(898): error C2365: '_InIt': redefinition; previous definition was 'template parameter'
I tried various versions of MSVC, i even upgraded from VS2019 to VS2022 to be sure to get the latest everything, but i still get the same list of errors.
I guess my project configuration must be wrong somewhere but i couldn’t find anything related to this on google.
Any idea ?
Thanks
Cedric