www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Duplicate const definitions

If a const is defined twice (identically), one of them  inside an extern 
(Windows) declaration dmd will error with 'Error 1: Previous Definition 
Different'.  Is this really correct?  Shouldn't the compiler treat them 
the same?
Jan 22 2005