diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-08-28 21:20:56 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-08-28 21:23:55 +0800 |
commit | a9fcd9b1ecb8954f67738a94b8553ab234d6def5 (patch) | |
tree | 3824d589d216ae538d31f51005dc10ad2c586ec8 /gcc-4.4.3 | |
parent | 38714f1ac0f7591e9d6fa23386c2450bb64e7213 (diff) | |
download | toolchain_gcc-a9fcd9b1ecb8954f67738a94b8553ab234d6def5.tar.gz toolchain_gcc-a9fcd9b1ecb8954f67738a94b8553ab234d6def5.tar.bz2 toolchain_gcc-a9fcd9b1ecb8954f67738a94b8553ab234d6def5.zip |
Disable warning: the mangling of <va_list> has changed in GCC 4.4
Disable this obsolete warning for Android, because none of the exposed
APIs NDK is impacted by this change of ARM ABI. This warning can be
triggered very easily by compiling the following code using
arm-linux-androideabi-g++:
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
void foo(va_list v) { }
We could advise developer to add "-Wno-psabi", but doing so also
categorically deny other cases guarded by "warn_psabi". Hence the
decision to disable it case by case here.
Related discussion:
https://groups.google.com/d/msg/android-ndk/-/7XLgL08iv0sJ
Change-Id: I2c5c42e4593d3a1806f7840ccaa3e59d8d1c2315
Diffstat (limited to 'gcc-4.4.3')
0 files changed, 0 insertions, 0 deletions