This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ieeefp.h: C++ guards


On Nov  7 18:00, Corinna Vinschen wrote:
> On Nov  7 11:45, Jeff Johnston wrote:
> > Corinna Vinschen wrote:
> > >On Nov  6 16:41, Yaakov S (Cygwin Ports) wrote:
> > >
> > >>The ieeefp.h header does not contain C++ guards.  Is there a reason for
> > >>this?
> > >>
> > >>This particularly affects C++ perl extensions, as perl.h includes
> > >>ieeefp.h, although I just ran across another, non-perl case where it
> > >>caused a compilation error.
> > >>
> > >>
> > >>Yaakov
> > >
> > >
> > >This is a newlib issue since ieeefp.h is a newlib header file.  I've
> > >redirected to the newlib list.  A patch like the below should do the
> > >trick.  Jeff?
> > >
> > 
> > Seems very sensible considering that a number of the identifiers are 
> > also declared in math.h and protected there (e.g. isnan).
> > 
> > -- Jeff J.
> 
> Thanks, applied without the copy/pasted #define's :-}
> 
> 
> Corinna

Apparently I only checked this in to an internal repository and forgot
to do it on sourceware.  I've finally really checked it in.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]