January 22, 2005 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? |
Copyright © 1999-2021 by the D Language Foundation