https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62002
Igor Zamyatin <izamyatin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |izamyatin at gmail dot com --- Comment #2 from Igor Zamyatin <izamyatin at gmail dot com> --- Am I correct that adding -fcilkplus just fixes the bug somehow? I see that regular trunk g++ gives error for struct foo { void bar(void *my_object, char const *, ...) __attribute__((__format__(__printf__, 2, 3))); }; which is supposed to be correct according to the docs(https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attributes)