_CTIME namespace conflict on hpux 11
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Mar 27 09:07:00 GMT 2002
> 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)
More information about the Libstdc++
mailing list