[Bug other/62002] New: -fcilkplus switch breaks format attribute.
astellar at ro dot ru
gcc-bugzilla@gcc.gnu.org
Sun Aug 3 15:45:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62002
Bug ID: 62002
Summary: -fcilkplus switch breaks format attribute.
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: astellar at ro dot ru
~/src/test# cat test.cpp
struct foo
{
void bar(char const *, ...) __attribute__((__format__(__printf__, 2, 3)));
};
`g++-4.9 -c test.cpp` compiles without errors. However, `g++-4.9 -fcilkplus -c
test.cpp` produces this message:
test.cpp:3:77: error: format string argument is not a string type
void bar(char const *, ...) __attribute__((__format__(__printf__, 2, 3)));
I've compiled GCC from git mirror's 4.9 branch.
More information about the Gcc-bugs
mailing list