Strange warning (variable might be clobbered by `longjmp' or `vfork')

Jeffrey A Law law@cygnus.com
Sat Nov 1 21:16:00 GMT 1997


  > 	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'
I believe I've just fixed this problem.  The next egcs snapshot
should compile your code without that bogus warning.

Jeff



More information about the Gcc mailing list