[Bug c++/14748] class member field name __ct

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 26 19:40:00 GMT 2004


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



More information about the Gcc-bugs mailing list