On Mon, Apr 24, 2006 at 10:48:16AM +0200, Roland Stigge wrote:
> Hi,
> 
> thanks for the report and the patch.
> 
> Would you please give a short explanation why this fixes the problem?
> You didn't change the code itself. Or do you just want to suppress the
> warnings?

Sure - thanks for your quick reply.

My patch removes the --std=c89 CFLAG.
 * --std=c89 is the same as -ansi (according to gcc manpage)
 * -ansi causes __STRICT_ANSI__ to be defined
 * in features.h, __STRICT_ANSI__ prevents __USE_POSIX from being defined
 * features.h is included by stdio.h
 * stdio.h defines popen and fdopen only if __USE_POSIX is defined

So, this isn't just a warning suppression.

-- 
dann frazier



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to