------- Comment #3 from pinskia at gcc dot gnu dot org 2008-01-16 15:05 ------- (In reply to comment #2) > I know about that. The class don't need a contructor, it does not have > anything > that needs to be assigned upon creation. Why should the compiler link in code > that does not do anything?
Because it is a const. Visual Studio is no where near standards complaint and you have to be explict at enabling its standards complaint mode too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34811