Skip to content

MSVC syntax errors in Manager.cpp #417

@jsrgb

Description

@jsrgb

Building the array_multiplication example:

C:\Users\conne\Desktop\kompute-latest\src\Manager.cpp(20,27): error C2143: syntax error: missing ';' before '__cdecl' [C:\Users\conne\Desktop\kompute-latest\examples\array_
multiplication\build\kompute_build\src\kompute.vcxproj]
C:\Users\conne\Desktop\kompute-latest\src\Manager.cpp(20,18): warning C4229: anachronism used: modifiers on data are ignored [C:\Users\conne\Desktop\kompute-latest\examples
\array_multiplication\build\kompute_build\src\kompute.vcxproj]
C:\Users\conne\Desktop\kompute-latest\src\Manager.cpp(20,18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\conne\Desk
top\kompute-latest\examples\array_multiplication\build\kompute_build\src\kompute.vcxproj]
C:\Users\conne\Desktop\kompute-latest\src\Manager.cpp(20,38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\conne\Desk
top\kompute-latest\examples\array_multiplication\build\kompute_build\src\kompute.vcxproj]

Changing VKAPI_PTR to VKAPI_ATTR resolves the error.

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