[Bug other/62002] -fcilkplus switch breaks format attribute.
izamyatin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 6 15:01:00 GMT 2014
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)
More information about the Gcc-bugs
mailing list