How Get rid of NDK compiler warning: “APP_PLATFORM is larger..” and “Invalid package”

后端 未结 3 1512
粉色の甜心
粉色の甜心 2021-01-02 03:49

I have the following Application.mk

APP_PLATFORM := android-9
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions -O2 -mfpu=neon -mfloat-abi=softfp
         


        
3条回答
  •  星月不相逢
    2021-01-02 04:03

    You can fix this by performing the following steps in Eclipse:

    • Window -> Preferences -> C/C++ -> Build -> Settings
    • Select CDT GNU C/C++ Error Parser
    • In the Error Parser options at the bottom, add a new entry with the following contents:

    Severity: Warning

    Pattern: (.?):(\d+): Android NDK: WARNING:(.)

    File: $1

    Line: $2

    Description: $3

    That should convert this to a warning, and you can choose to ignore this as well - depending on the severity it will show up in the Problems view.

提交回复
热议问题