[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 11 12:54:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-10-11 12:54 -------
I concur with Giovanni: this is a case very much like the format
checking for printf and attribute sentinel. If you simply remove
the attribute statement, then the generated code is exactly the
same in all cases, the attribute is there only to enable the compiler
to emit more warnings.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17920
More information about the Gcc-bugs
mailing list