From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamil Iskra To: egcs@cygnus.com Subject: Re: Strange warning (variable might be clobbered by `longjmp' or `vfork') Date: Sun, 31 Aug 1997 18:57:24 -0000 Message-ID: In-reply-to: 199708310123.SAA21826@cygnus.com X-SW-Source: 1997-08/0828.html Message-ID: <19970831185724.Ivz9ipSfc8TkHuU1gyx7o9cp19sAgRdffnBIxuht2AU@z> On Sat, 30 Aug 1997, Jim Wilson wrote: > The following code gives a strange warning. > ~/Prog> g++ -Wall -O -c egcs-feature2.cc > egcs-feature2.cc: In function `void f()': > egcs-feature2.cc:15: warning: variable `int maxrows' might be clobbered by > `longjmp' or `vfork' [snip] > This can probably be fixed by making the sjlj EH support and flow interact > better. Actually, is this particular warning a really useful feature, that saves people from making a bug every other day? I don't think so. To the contrary, I've seen it several times and every time it was bogus. Perhaps it would be better to just get rid of this warning? / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 1.6 GB, 18 MB RAM \ | iskra@student.uci.agh.edu.pl kiskra@ernie.icslab.agh.edu.pl | | http://student.uci.agh.edu.pl/~iskra | \ PGP public key available via Finger or WWW /