[clang] Add flag to suppress overflow errors in C++ constant expressions. (PR #102390)

Mike Hommey via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 22:43:48 PDT 2024


glandium wrote:

> and the fix is already applied from looking at https://android.googlesource.com/platform/frameworks/native/+/master/libs/nativewindow/include/android/hardware_buffer.h#329

it's not part of any released NDK, and it's common to be stuck with older NDKs. Most people are probably using the compiler that comes with the NDK, but Mozilla doesn't. Well, I guess we can just patch our clang to make this a non-error on Android targets or something.

https://github.com/llvm/llvm-project/pull/102390


More information about the cfe-commits mailing list