This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: _CTIME namespace conflict on hpux 11


> I reported the same problem to Benjamin & friends last night for the PA32
> platform.  It should be fixed if you update your tree again :-)

In looking at this, I noticed what appears to be a small error in the hpux
sys/time.h header file:

#  ifndef _ASCTIME
     extern char *asctime(const struct tm *);
#  endif

It's missing a define for _ASCTIME.  Both hpux 10 and 11 are missing it.
On the otherhand, maybe the define isn't really needed because the declaration
is only done once at most anyway.  However, defining it would follow the
convention used in sys/types.h, and for the other declarations in sys/time.h.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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