Hi Mike, On Sat, Apr 27, 2019 at 09:58:57AM +0000, Kaganski Mike <mikekaganski@hotmail.com> wrote:
After my commit ac419786b324 "Don't use std::function in scope guard for performance reasons", errors are generated by Android-ARM, as in the forwarded message below. According to https://stackoverflow.com/questions/43514188/lambda-passed-to-template-not-defined, it's https://bugs.llvm.org//show_bug.cgi?id=20296 . But why doesn't it show up on our jenkins builds; and what should I preferably do: just revert the commit, or silence the warning locally somehow (e.g., conditionally for Android only)?
If the Android toolchain is broken at the moment (false warning), then indeed I would just silence the warning via #pragma, guarded by #ifdef ANDROID. And hope that it can be cleaned up with the next Android toolchain update. In any case, keeping the tinderbox green would be great. :-) Regards, Miklos
Attachment:
signature.asc
Description: Digital signature