mirror of https://github.com/mstorsjo/fdk-aac.git
Move back to C++98.
This code depends on narrowing hex literals to a signed long, which trips -Wc++11-narrowing (the fix would be to explicitly cast each value to signed). Change-Id: I581a02ef0eeee5a2d95ce0ff2ec6f7ff26f3a074
This commit is contained in:
parent
d149516e1a
commit
d52f374768
|
@ -39,7 +39,6 @@ LOCAL_SRC_FILES := \
|
||||||
$(sbrdec_sources:%=libSBRdec/src/%) \
|
$(sbrdec_sources:%=libSBRdec/src/%) \
|
||||||
$(sbrenc_sources:%=libSBRenc/src/%)
|
$(sbrenc_sources:%=libSBRenc/src/%)
|
||||||
|
|
||||||
LOCAL_CFLAGS := -DANDROID
|
|
||||||
LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
|
LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
|
||||||
|
|
||||||
LOCAL_C_INCLUDES := \
|
LOCAL_C_INCLUDES := \
|
||||||
|
@ -58,6 +57,8 @@ LOCAL_C_INCLUDES := \
|
||||||
LOCAL_CLANG_CPPFLAGS += \
|
LOCAL_CLANG_CPPFLAGS += \
|
||||||
-Wno-pointer-bool-conversion
|
-Wno-pointer-bool-conversion
|
||||||
|
|
||||||
|
LOCAL_CPPFLAGS += -std=c++98
|
||||||
|
|
||||||
LOCAL_MODULE:= libFraunhoferAAC
|
LOCAL_MODULE:= libFraunhoferAAC
|
||||||
|
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
Loading…
Reference in New Issue