Hello, Assar! > I think this problem has already been discussed on the mailing list. > We should in my opinion just remove the declaration of exit for C++, Maybe it's better to use "return" for C++. I remember that somebody mentioned problems with "return" in old C compilers. This should be irrelevant to C++. > -#ifdef __cplusplus > -extern "C" void exit (int); > -#endif It should be: #ifdef __cplusplus #undef exit #define exit(x) return (x) #endif The full patch goes to [EMAIL PROTECTED] Regards, Pavel Roskin
- Problem with exit() and new version of gcc. Mo DeJong
- Re: Problem with exit() and new version of gcc. Mo DeJong
- Re: Problem with exit() and new version of gcc. Assar Westerlund
- Re: Problem with exit() and new version of gcc. Pavel Roskin
- Re: Problem with exit() and new version of gcc. Alexandre Oliva
- Re: Problem with exit() and new version of gcc... Raja R Harinath
- Re: Problem with exit() and new version of gcc. Pavel Roskin
- Re: Problem with exit() and new version of gcc... Alexandre Oliva
- RE: Problem with exit() and new version of gcc. Bernard Dautrevaux
