[klibc] Re: Warnings building dash

H. Peter Anvin hpa at zytor.com
Sun Mar 26 10:56:44 PST 2006

Herbert Xu wrote:
> 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.

The issue is that the workaround doesn't seem to work for gcc 4.


More information about the klibc mailing list