C locale

Walter Bright newshound2 at digitalmars.com
Fri Sep 27 18:36:40 PDT 2013


On 9/27/2013 5:28 PM, "Luís Marques" <luis at luismarques.eu>" wrote:
> BTW, I have for more than once wondered why there was no way to specify more
> than one version identifier (is there?), like this:
>
>      version(Windows, OSX)
>      {

For the reason you mentioned earlier. If you are changing the OSX values, you'll 
likely mess up the Windows ones.

I've been at this for 30 years, and am quite fed up with the bugs from attempts 
to save a few keystrokes. The practice of separating the os sections into 
distinct ones has been a big win in reliability.



More information about the Digitalmars-d mailing list