This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: sys/time.h C++ compilation problem
Graham Murray <graham@barnowl.demon.co.uk> writes:
> > When I complied the C++ program that includes sys/time.h,
> > following error message was printed.
> >
> > /usr/include/sys/time.h:69: two or more data types in declaration of `__tz'
>
> I have just found the same problem, and it only affects c++
> programs.
I cannot reproduce this. It must be a problem in the older compiler
while handling __restrict. Try moving the __restrict keyword in the
typedefs of __timezone_ptr_t.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------