Re: g++ and signal handlers that use sigcontext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 17, 2004 at 10:17:25PM -0600, Eljay Love-Jensen wrote:
> >It's illegal to use a function in C++ prior to declaring it. `exit' is declared in "stdlib.h".
> 

> I presume Claudio meant the C++ header <cstdlib>, not the (unusally
> designated with quotes instead of angled-backets) C header "stdlib.h".

Yes, I did - actually. But it's just C code after all and I didn't want to
break with the presented example code. It should be <cstdio> instead of
<stdio.h> then, of course. (Sorry for any confusion caused by the double quotes).

-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux user                         - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux