https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61978
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Daniel Pinol from comment #3) > #if defined(__has_feature) > # if __has_feature(address_sanitizer) > __attribute__((no_sanitize_address)) > # endif > #endif > void triggerLang(ReemWindow &win, config::Language const &lang) is not adding the attribute at all. GCC doesn't support the clangism __has_feature. Just add the attribute unconditionally, uknown attributes just cause a warning, and 4.8+ supports that attribute.