John Horigan wrote:

> Why not replace '/*CONSTCOND*/ 0' with a non-constant expression that is
> guaranteed to be false, like 'rand() < 0'?

Please don't! Adding extra runtime work to silence a compiler
warning is absurd.

I don't use that compiler, but "do ... while (0)" is a
well-established idiom in C macros, so there must be a common way to
deal with it, whether it's a pragma or some workaround.

Frank

Reply via email to