[Bug c++/89729] [g++ 8] -Wclass-memaccess warning

2019-03-15 Thread chantry.xavier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89729 --- Comment #3 from Xavier --- (In reply to Martin Sebor from comment #1) Thanks a lot for the detailed explanation, it's much clearer now. Wclass-memaccess does look sane. script_data_t is apparently manipulated from both C and C++ code, which

[Bug c++/89729] [g++ 8] -Wclass-memaccess warning

2019-03-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89729 --- Comment #2 from Jonathan Wakely --- (In reply to Xavier from comment #0) > There are already many bugs about this one, but since I am not expert on > C++, I would like to have your advice. [...] > What's the correct way in gnu++98 to do thi

[Bug c++/89729] [g++ 8] -Wclass-memaccess warning

2019-03-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89729 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED