'snex::Types::SpanOperators<float *>::assign' is not a valid template type argument for parameter '_Ty2'
-
I'm getting some errors when trying to compile the latest commit. Not sure if it's HISE or the new update from VS2022 :/
1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,23): error C2923: 'std::is_same': 'snex::Types::SpanOperators<float *>::assign' is not a valid template type argument for parameter '_Ty2' 1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,57): error C2275: 'snex::Types::SpanOperators<float *>::assign': expected an expression instead of a type 1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2641: cannot deduce template arguments for 'std::is_same' 1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2783: 'std::is_same<_Ty1,_Ty2> std::is_same(void)': could not deduce template argument for '_Ty1' 1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2783: 'std::is_same<_Ty1,_Ty2> std::is_same(void)': could not deduce template argument for '_Ty2' 1>Z:\GitHub\HISE\hi_dsp_library\snex_basics\snex_ArrayTypes.h(235,64): error C2780: 'std::is_same<_Ty1,_Ty2> std::is_same(std::is_same<_Ty1,_Ty2>)': expects 1 arguments - 0 provided
-
@Dan-Korneff HISE builds fine here. Which VS are you using?
-
@Christoph-Hart latest update of VS2022
-
@Christoph-Hart Here's the VS details:
Microsoft Visual Studio Community 2022
Version 17.10.0
VisualStudio.17.Release/17.10.0+34916.146
Microsoft .NET Framework
Version 4.8.09032Installed Version: Community
Visual C++ 2022 00482-90000-00000-AA042
Microsoft Visual C++ 2022ASP.NET and Web Tools 17.10.338.1105
ASP.NET and Web ToolsAzure App Service Tools v3.0.0 17.10.338.1105
Azure App Service Tools v3.0.0C# Tools 4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.GitHub Copilot 0.2.889.30432
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.Intel Libraries for oneAPI Package ID: w_oneAPI_2022.2.1.14974
Intel Libraries for oneAPI – toolkit version: 2022.3.1, extension version 22.0.0.17, Package ID: w_oneAPI_2022.2.1.14974, Copyright 2019-2022 Intel Corporation. All rights reserved.- Other names and brands may be claimed as the property of others.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual MachinesNuGet Package Manager 6.10.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/PACE Fusion 1.0
PACE Fusion for Visual StudioTest Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.TypeScript Tools 17.0.30327.2001
TypeScript Tools for Microsoft Visual StudioVisual Basic Tools 4.10.0-3.24265.4+91c77369a0242946f66e16a04587e2860357beef
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.Visual F# Tools 17.10.0-beta.24228.1+dd749058c91585e9b5dae62b0f8df892429ee28f
Microsoft Visual F# ToolsVisual Studio IntelliCode 2.2
AI-assisted development for Visual Studio. -
I've compiled the latest develop commit here.
-
@Orvillain what version of Visual Studio are you using? I just updated to the latest VS2022 and I am getting the same errors
-
yup it was indeed the latest VS Studio update that caused this compilation error. Should be fixed now.
-
@kameron Not the latest as it turns out :beaming_face_with_smiling_eyes: