This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

why not use setjmp/longjmp within gcc?


Hello All

It seems to me that setjmp & longjmp are (almost) never used inside the
compiler but I don't understand why it is so.

It is quite standard since a long time, and I don't understand why it should
be avoided (as some old Changelog suggest).

gcc/doc/trouble.texi gives some hints about setjmp/longjmp but I don't
understand them as a requirement to not use it.

I'm probably misunderstanding something, could seom expert enlightezn me?

Regards.
-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 
8, rue de la Faïencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]