version statement problem in gdc
John Colvin
john.loughran.colvin at gmail.com
Sun Apr 7 16:05:47 PDT 2013
On Sunday, 7 April 2013 at 23:02:28 UTC, John Colvin wrote:
> void main() {
> version(D_InlineAsm_X86_64) {
> pragma(msg,"x64");
> }
> else version(D_InlineAsm_X86) {
> pragma(msg,"x86");
> }
> else {
> pragma(msg,"None");
> }
> }
>
> dmd/ldc -m64: x64
> gdc -m64/32 : None
Ah, I see D inline asm isn't supported in gdc. When I removed the
version check from my code I got a massive slew of errors telling
me so (one for every asm line, not one per asm block).
What's stopping iasm in gdc, ldc appears to have no problem.
More information about the D.gnu
mailing list