http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51440

--- Comment #2 from Chris <blue.dragan+gcc at gmail dot com> 2011-12-08 
01:04:18 UTC ---
When narrowing down the issue I stripped a detail which may be important. All
contents of the test.h file are in fact in extern "C" { } range. When the repro
case from my original report is modified to add extern "C" to the test.h file,
then the warning still repros.

If the warning about the unnamed structure turns out to be legitimate, then I
would indeed expect it to be signaled for non-cv-qualified types as well.

Regardless of whether the warning is legitimate or not, it would be nice to
have a way to turn it off.

Reply via email to