Closed kh-huawei closed 1 year ago
Visual Studio 2022 gives this compile error: error C2664: 'AZ::ShaderCompiler::QualifiedName AZ::ShaderCompiler::GetTypeName(const AZ::ShaderCompiler::IdAndKind *,AZ::ShaderCompiler::ForFunctionGetType)': cannot convert argument 1 from 'int *' to 'const AZ::ShaderCompiler::IdAndKind *'
error C2664: 'AZ::ShaderCompiler::QualifiedName AZ::ShaderCompiler::GetTypeName(const AZ::ShaderCompiler::IdAndKind *,AZ::ShaderCompiler::ForFunctionGetType)': cannot convert argument 1 from 'int *' to 'const AZ::ShaderCompiler::IdAndKind *'
Interesting. Must be related to improvements in the double phase lookup? Or maybe misguided msvc changes, because this builds on gcc (and clang if I'm not mistaken). Curious.
Visual Studio 2022 gives this compile error:
error C2664: 'AZ::ShaderCompiler::QualifiedName AZ::ShaderCompiler::GetTypeName(const AZ::ShaderCompiler::IdAndKind *,AZ::ShaderCompiler::ForFunctionGetType)': cannot convert argument 1 from 'int *' to 'const AZ::ShaderCompiler::IdAndKind *'