[Bug libstdc++/49174] numeric_limits<T> template is a struct not a class

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 26 19:25:00 GMT 2011


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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-05-26 19:22:13 UTC ---
Note the reason why clang warns is because of some body at MS decided that
class and struct would act slightly different.  I think we should not follow MS
here and not warn about this.  I think clang should not warn about it either by
default but we have no control over that.



More information about the Gcc-bugs mailing list