-
Notifications
You must be signed in to change notification settings - Fork 541
Compile Error - LocalFileIO #553
Comments
Same problem here |
Thanks for reporting! We'll be looking into this critical issue. If you need to work around the issue for now the recommended Microsoft Visual Studio 2019 version is 16.2.4 thru version 16.9.x. |
Awesome thank you. To fix the error |
I also face same issue. on the file
into
The error will be gone and you should be able to compile |
I can confirm this workaround works, it worked for me! I spent countless hours trying to figure out the legitimate cause for this error, thank you so much! |
Describe the bug
Project fails to compile even with the #549 fix, gives the error
e\Amazon\Lumberyard\1.28.0.0\dev\Code\Framework\AzFramework\AzFramework\IO\LocalFileIO.cpp(502): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'AZStd::pair<const char *,const char *>'
e:\Amazon\Lumberyard\1.28.0.0\dev\Code\Framework\AzFramework\AzFramework\IO\LocalFileIO.cpp(502): note: No constructor could take the source type, or constructor overload resolution was ambiguous
using Visual Studio 2019 16.10.0
Steps to reproduce
Modify the Qt files using #549 fix and then build using the Project Configurator and Visual Studio 2019 16.10.0
Expected behavior
Project builds successfully
Screenshots/Logs
https://pastebin.com/xfp6N1Aq
Lumberyard version
1.28.0.0
The text was updated successfully, but these errors were encountered: