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++/21499] declaration/initialization of non-integral member constants: compiler does not emit error


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-10 17:44 -------
> It's a good idea to flag this error to avoid errors that are more difficult to
> catch at link-time. Apparently GCC does not require integral member constants to
> be defined, but it does require other member constants to be defined somewhere.
> Why not help enforce this at compile-time?
Because the standard does not require to diagnostic the problem.

Also the orignal problem is a dup of bug 11393.


*** This bug has been marked as a duplicate of 11393 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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