[Bug c++/18530] [4.0 regression] Bogus warnings about shadowed variables __ct, __dt

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 24 05:32:00 GMT 2004


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-24 05:31 -------
Using names with double underscores does put you on shaky ground, as those are
reserved to the implementation, of course.  I agree that it isn't desirable to
warn about "__ct" -- but there are other problems relating to these names.  (For
example, declaring a member with the name "__ct" does not work as expected, but
neither is the member considered a constructor.)

I am working on a fix.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18530



More information about the Gcc-bugs mailing list