Incorrect warning: use '{ }' for an empty statement, not a ';'

Stuart stugol at gmx.com
Sat Jul 21 15:52:31 PDT 2012


The following code -

    void STOP() { asm { int 3; }; }

- generates the warning:

    Incorrect warning: use '{ }' for an empty statement, not a ';'

That's wrong, yeah?


More information about the Digitalmars-d mailing list