On 2008-11-20, at 15:29, Peter Eisentraut wrote:
>
> Well, the warning is explicitly put in there for this specific
> function because you are supposed to process the return value. I'm
> sure a more smarter compiler would even warn "variable is assigned a
> value that is never used". ;-) (Note that gcc in general doesn't
> work about unused return values, only for those functions that glibc
> explicitly marks as candidates.)
afaik you need to use -Wall and -O3 to get that type of warning with 4.3