这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Compile Error - LocalFileIO #553

@ratchet3789

Description

@ratchet3789

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions