www.digitalmars.com         C & C++   DMDScript  

c++ - A standard conformance issue regarding specialization of static data member - test.zip

reply Wu Yongwei <Wu_member pathlink.com> writes:
See the following URL for the discussion on this issue (my last comment was just
posted, but may need some time to appear):


(or http://tinyurl.com/k2nuf)

The test case is attached. The expected result is that the program builds and
outputs `1e-10' (as GCC does).  DMC 8.47 currently fails to link:

main.obj(main)  Offset 098F6H Record Type 00C3
Error 1: Previous Definition Different : ?Epsilon ?$FMC N  2NA (double
FMC<double >::Epsilon)

--- errorlevel 1

Best regards,

May 08 2006
parent Walter Bright <newshound digitalmars.com> writes:
Thanks for reporting this. -Walter
May 09 2006