[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2024-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 Andrew Pinski changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #7 f

[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2011-03-01 Thread mlg7 at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 --- Comment #6 from mlg 2011-03-01 17:23:41 UTC --- (In reply to comment #4) > (In reply to comment #0) > > > > Functions that call pure virtual functions cannot > > be called from constructors and destructors. > > This may be discovered at compi

[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2011-03-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 --- Comment #5 from Jonathan Wakely 2011-03-01 12:32:19 UTC --- (In reply to comment #4) > "abstract virtual" - the class is abstract, the function is pure virtual. I forgot I already changed that ;) http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg0043

[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2011-03-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 --- Comment #4 from Jonathan Wakely 2011-03-01 12:30:06 UTC --- (In reply to comment #0) > > Functions that call pure virtual functions cannot > be called from constructors and destructors. > This may be discovered at compile-time, and the above

[Bug c++/47940] warn about calls to a pure virtual from a constructor/destructor

2011-03-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47940 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Summary|can call