[Bug c++/48483] Construct from yourself w/o warning
lisp2d at lisp2d dot net
gcc-bugzilla@gcc.gnu.org
Thu Apr 7 13:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
--- Comment #15 from Lisp2D <lisp2d at lisp2d dot net> 2011-04-07 13:58:38 UTC ---
(In reply to comment #12)
> For the example in comment 2 G++, EDG and Clang++ all accept it without
> warning.
> MSVC rejects it, but is wrong to do so.
The answer is good. Let's talk about warnings.
I think that processing option -Winit-self must to be rewritten.
Just create SymbolVariableProcessingInConstructor and checking of all symbols
in line.
This will free the brain.
More information about the Gcc-bugs
mailing list