This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

sys/time.h C++ compilation problem


>Submitter-Id:  net
>Originator:    MATSUMURA Hiromitsu
>Organization:
>Confidential:  no
>Synopsis:      sys/time.h C++ compilation problem
>Severity:      non-critical
>Priority:      low
>Category:      libc
>Class:         sw-bug
>Release:       libc-2.1.93
>Environment:
        machine: PentiumIII 800MHz dual
        os:      Linux 2.4.0-test7
        compiler:gcc-2.95.2
Host type: i686-pc-linux-gnu
System: Linux balthasar 2.4.0-test7 #4 SMP Sun Sep  2 01:33:34 JST 2000 i686 unknown
Architecture: i686

Addons: linuxthreads
Build CFLAGS: -O2
Build CC: gcc
Compiler version: 2.95.2 19991024 (release)
Kernel headers: 2.4.0-test7
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
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'

>How-To-Repeat:

compile the following source code by c++.

#include <sys/time.h>
int main()
{
    return 0;
}

--
MATSUMURA Hiromitsu

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