On Sunday,  3 September 2006 at 21:00, Dennis Schridde wrote:
> Hah! Now I got the solution!!!
> G++ throws a stupid error message, that is all.
> ( (expr) ? (void)0 : debug() ) works.
> The problem before was that 0 has a different type than debug() and in
> ( x ? y : z) y and z must be of the same type.

Yeah, it had to be something stupidly easy, but casting 0 to void didn't
cross my mind...

-- 
Any girl can be glamorous; all you have to do is stand still and look stupid.
                -- Hedy Lamarr

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to