
15 Feb
2006
15 Feb
'06
12:15 p.m.
Hi, Compiling the file boost/test/impl/execution_monitor.ipp with gcc-3.4 ( freebsd ) with the following : g++ -O2 -Werror -Wall -W test.cpp ( test.cpp contains only #include <boost/test/impl/execution_monitor.ipp> ) produces two warnings: boost/test/impl/execution_monitor.ipp:422 warning: variable 'result' might be clobbered by `longjmp' or `vfork' boost/test/impl/execution_monitor.ipp:423 warning: variable 'ec' might be clobbered by `longjmp' or `vfork' Moving the two variables declarations a few lines down, after the volatile int sigtype = sigsetjmp( signal_handler::jump_buffer(), 1 ); solves the problem. Regards, Iulian M. -- Tonight's the night: Sleep in a eucalyptus tree.
7067
Age (days ago)
7067
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gennadiy Rozental
-
Iulian M