inline asm and const init error

Yassine Yassine_member at pathlink.com
Mon May 1 03:25:44 PDT 2006


Hi,

Under windows when i try to compile those lines

extern(C) void func() {

asm {
naked;
di -5;
}
}

i get this error: const init;
does di (& co) accpets only literals integers (without a leadnig -). if i've
well understood the spec, expressions are also allowed for di.





More information about the Digitalmars-d mailing list