[klibc] Re: Warnings building dash

Herbert Xu herbert at gondor.apana.org.au
Sat Mar 25 23:15:33 PST 2006

On Sat, Mar 25, 2006 at 06:17:16PM -0800, H. Peter Anvin wrote:
> I'm trying to clean up warnings in klibc in preparation for merging, and 
> I get a bunch of warnings in dash/parser.c:
> usr/dash/parser.c: In function ?readtoken1?:
> usr/dash/parser.c:838: warning: variable ?out? might be clobbered by 
> ?longjmp? or ?vfork?

Hmm, actually there is a hack in the code that works around the problem.
It sits inside an #if __GNUC__.  Is __GNUC__ not defined for some reason?

I can't reproduce this warning with the standalone dash and gcc 3.3.

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

More information about the klibc mailing list