Reputation: 57183
After upgrading to NDK r13, the following innocent cpp file:
#include <unordered_map>
with command:
ndk-build NDK_TOOLCHAIN_VERSION=4.9 APP_CPPFLAGS=-fexceptions APP_CFLAGS=-Wall APP_STL=c++_static
causes a warning:
<built-in>: In function 'float abs(float)':
<built-in>: warning: conflicts with previous declaration here [-Wattributes]
What has gone wrong since r12b?
Upvotes: 2
Views: 851
Reputation: 57183
Actually, the 4.9 toolchain is deprecated in NDK. Switching to default toolchain (clang) resolves the issue.
Upvotes: 2