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

2012-07-21 Thread Stuart
The following code - void STOP() { asm { int 3; }; } - generates the warning: Incorrect warning: use '{ }' for an empty statement, not a ';' That's wrong, yeah?

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

2012-07-21 Thread Stuart
On Saturday, 21 July 2012 at 22:53:25 UTC, Alex Rønne Petersen wrote: On 22-07-2012 00:52, Stuart wrote: The following code - void STOP() { asm { int 3; }; } - generates the warning: Incorrect warning: use '{ }' for an empty statement, not a ';' That's wr