Skip to content

no member named 'vfpv' in 'ArmFeatures' when compiling ndk_compat for arm #96

Closed

Description

@robertarnesson

Compiling ndk_compat for Android arm devices results in the error below:

/build/src/ndk_compat/cpu-features.c:118:21: error: no member named 'vfpv' in 'ArmFeatures' if (info.features.vfpv) g_cpuFeatures |= ANDROID_CPU_ARM_FEATURE_VFPv2; ~~~~~~~~~~~~~ ^ 1 error generated.

..and sure enough looking in include/cpuinfo_arm.h there is no vfpv property. Looking through the file history it seems there never was. I'm scratching my head here, am I doing something wrong or is this a bug that has been there forever?

Commenting out line 118 in ndk_compat/cpu-features.c solves the issue

Activity

  1. added
    bug
    on Nov 26, 2019
  2. gchatelet commented on Nov 26, 2019

    @gchatelet
    Collaborator

    Thx it's a typo, it should have been vfp (code).

  3. added this to the Release v0.5.0 milestone on Nov 26, 2019
  4. added a commit that references this issue on Feb 18, 2024
    96552a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions