On 2012-03-03 06:56, Nick Sabalausky wrote:
"Adam D. Ruppe"<[email protected]> wrote in message
news:[email protected]...
On Friday, 2 March 2012 at 18:28:15 UTC, Nick Sabalausky wrote:
Suggestion: Allow all D features even if it
requires...inefficient-er...boilerplate, BUT then have a system [...]
Eh. A problem there is those pragmas or whatever would be
unrecognized by the real dmd. A command line switch, maybe,
though.
I thought unrecognized pragmas were supposed to just be ignored? (Or maybe I
have it backwards?)
No, they're not:
"Compilers must diagnose an error for unrecognized Pragmas, even if they
are vendor specific ones. This implies that vendor specific pragmas
should be wrapped in version statements".
http://dlang.org/pragma.html
--
/Jacob Carlborg