help-gplusplus
[Top][All Lists]
Advanced

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

Re: errno bug?


From: Paul Pluzhnikov
Subject: Re: errno bug?
Date: 06 Oct 2004 15:12:16 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

"E. Robert Tisdale" <E.Robert.Tisdale@jpl.nasa.gov> writes:

> >>         extern int errno;

> This has nothing to do with standards.

Oh yes, it does.

The SUSv{1,2} standard used to say that you *may* declare 'extern int errno;'
It doesn't say that anymore.

> The declaration and the macro definition are inconsistent.

It is inconsistent with the declaration of errno in *your* code,
which is illegal and should be removed.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

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