help-gplusplus
[Top][All Lists]
Advanced

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

Re: errno bug?


From: Ross Smith
Subject: Re: errno bug?
Date: Thu, 07 Oct 2004 18:51:41 +1300
User-agent: KNode/0.7.7

E. Robert Tisdale wrote:
> 
> Evidently, it resolves to 'throw()' when compiled with g++ but
> 
> extern int errno;
> 
> is replaced with
> 
> extern int (*__errno_location ());

"Doctor, it hurts when I do this."
"Well don't do that then."

There's nothing wrong with what's in the header. As several people have
already explained to you, you are not allowed to write "extern int
errno".

-- 
Ross Smith ......... r-smith@ihug.co.nz ......... Auckland, New Zealand
    "The current crop of compilers are pretty lousy -- they always
    do what I say, and never what I mean." -- James Kanze


reply via email to

[Prev in Thread] Current Thread [Next in Thread]