[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiler error on IBM XL for AIX
- From: TNHarris <telliamed@...>
- Date: Mon, 3 Aug 2009 18:52:14 -0400
On Mon, 3 Aug 2009 21:32:07 +0400
Bulat Ziganshin <bulat.ziganshin@gmail.com> wrote:
>
> but ill-formed client may silently return instead of producing error.
> smth like L!=L+1 would be better if we may find way to fool any C
> compiler :)
>
Some compilers will complain that the expression is always true, then.
I think conditionally adding the return statement for misbehaving
compilers is the most reasonable solution.
-- tom
telliamed@whoopdedo.org