C locale

Jacob Carlborg doob at me.com
Sat Sep 28 10:37:26 PDT 2013


On 2013-09-28 06:46, "Luís Marques" <luis at luismarques.eu>" wrote:

> Let's use some lateral thinking. How about a compiler warning if,
> say, a version statement does not match any defined version
> identifier but it would if a case-insensitive comparison was made?

It's possible to have user defined version identifiers:

module foo;

version (Foo)
     // when Foo
else
     // else

dmd foo.d -version=Foo

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list