https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84667
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-03-02 Ever confirmed|0 |1 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Elmar Stellnberger from comment #1) > sample program that evokes the error reduced to 20% of its original size At least 90% of it is still completely irrelevant and we have to wade through hundreds of lines of macros and unrelated junk. What exactly is the bug? If you simply need to add const to your copy constructors and copy assignment operators, well that's how C++ works.