OpenBSD port of dmd?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Mar 17 09:43:12 PDT 2012
On 3/17/12 9:10 AM, Sean Kelly wrote:
> Pretty much. I'd expect to see:
>
> version (linux) {
> // optimized impl
> } else version (OSX) {
> version = UseDefault;
> } else {
> static assert(false, "unknown platform");
> }
> version (UseDefault) {
> ...
> }
Taking this to its logical conclusion means that _all_ code that is
currently unguarded must be guarded by version (UseDefault).
Andrei
More information about the Digitalmars-d
mailing list