[Top][All Lists]

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

Re: [gfsd]errno macro is not compatible with c++

From: Matt Kraai
Subject: Re: [gfsd]errno macro is not compatible with c++
Date: Mon, 18 Jun 2001 11:05:24 -0600
User-agent: Mutt/1.2.5i

On Mon, Jun 18, 2001 at 06:59:35PM +0200, Georg Maa? wrote:
> C macros are not compatible with equal named member functions or member
> properties of c++ classes.
> If I spend a errno property or method to a class there is no more
> distinction between the member property and the macro, because I can't
> use a scope operator for the macro. Instead of macros I would prefer
> variables and methods bound to a namespace like error. This would give
> me the ability to access the error information provided by some C func-
> tions also inside classes, that define there own equal named property to
> store that retrived information.
> If your provide the errno as a pre defined global variable instead of a
> macro, the g++ developers get a chance to wrap a namespace around it.

You should contact the GNU C library maintainer.  This address is
for reporting problems with the GNU Free Software Directory.


reply via email to

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