Godmar Back <[email protected]> writes:

> ps: I would like to see the warning, of course, since casting a bool
> returning function to an int returning function is undefined behavior.

The cast itself is ok, the undefined behavior only occurs when calling
it without casting back.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to