Skip to content

Unable to build test on Windows 11 with VS17 #149

@macintoshplus

Description

@macintoshplus

Version : master
Arch : x86 64 bit
Windows version : 11

Visual Studio version : 2022 (vs17)

Error:

C:\libfann\tests\fann_test_data.cpp(89,8): error C2664: 'void FANN::training_data::create_train_from_callback(unsigned int,unsigned int,unsigned int,void (__stdcall *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *))' :

 unable to convert argument 4 from 'void (__cdecl *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *)' 

in 'void (__stdcall *)(unsigned int,unsigned int,unsigned int,fann_type *,fann_type *)' [C:\libfann\_build\tests\fann_tests.vcxproj]

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