This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14748] class member field name __ct
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2004 19:40:52 -0000
- Subject: [Bug c++/14748] class member field name __ct
- References: <20040326192929.14748.Holger.Ahl@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-26 19:40 -------
While Andrew is right that you must not use names that start with
two underscores, the error message we give is really not very
helpful. I also don't know where it comes from: it is certainly not
the preprocessor that is replacing the token by something else, and
the compiler does not complain about the declaration of the field,
only about its use. We should be able to do better here.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Keywords| |diagnostic
Known to fail| |2.95.3 3.2.3 3.3.3 3.4.0
| |3.5.0
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14748