This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]