[Bug c++/58798] class with a class reference member generates unjustified warning

2021-10-27 Thread olafvdspek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 Olaf van der Spek changed: What|Removed |Added CC||olafvdspek at gmail dot com ---

[Bug c++/58798] class with a class reference member generates unjustified warning

2019-05-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 --- Comment #8 from Jonathan Wakely --- (In reply to Szikra from comment #3) > I have found a suggestion to hide warning about ignored attributes: > #pragma clang diagnostic ignored "-Wignored-attributes" > which doesn't seem to have a GCC

[Bug c++/58798] class with a class reference member generates unjustified warning

2019-05-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 Eric Gallager changed: What|Removed |Added Blocks||44209 --- Comment #7 from Eric Gallager

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-08-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-01-30 Thread steven.spark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 --- Comment #5 from Szikra --- (In reply to Jonathan Wakely from comment #4) > Because the warning isn't controlled by the -Wpacked option. If it was, it > would say [-Wpacked] after the warning. I think that's a bug, every warning > should be

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-01-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 --- Comment #4 from Jonathan Wakely --- (In reply to Szikra from comment #3) > The warning is still there if I use the -Wno-packed option: > g++ -std=gnu++11 -fpack-struct -Wno-packed eeprom.cpp -o eeprom > Why? Because the warning isn't

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-01-29 Thread steven.spark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 --- Comment #3 from Szikra --- The warning is still there if I use the -Wno-packed option: g++ -std=gnu++11 -fpack-struct -Wno-packed eeprom.cpp -o eeprom Why? I have found a suggestion to hide warning about ignored attributes: #pragma clang

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-01-29 Thread steven.spark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 --- Comment #2 from Szikra --- Created attachment 40615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40615=edit preprocessed test case Compiled with g++ --save-temps -std=gnu++11 -fpack-struct eeprom.cpp -o eeprom eeprom.cpp: In

[Bug c++/58798] class with a class reference member generates unjustified warning

2017-01-29 Thread steven.spark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58798 Szikra changed: What|Removed |Added CC||steven.spark at gmail dot com --- Comment #1