Skip to content

AMD_AGS_API should not be used for typedefs #59

@EricLasotaRSE

Description

@EricLasotaRSE

amd_ags.h has numerous function pointer typedefs using AMD_AGS_API, which has no effect and is throwing numerous warnings in clang-cl, e.g.:
amd_ags.h(1349,9): warning : 'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces [-Wignored-attributes] 349> 1349 | typedef AMD_AGS_API AGSDriverVersionResult (*AGS_CHECKDRIVERVERSION)( const char*, unsigned int ); ///< \ref agsCheckDriverVersion

They're not in the correct part of the typedef to be specifying a calling convention either, so there is no reason to put it there.

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