tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Problems compiling with Glibc 2.4.4 (FC5)


From: Axel Liljencrantz
Subject: [Tinycc-devel] Problems compiling with Glibc 2.4.4 (FC5)
Date: Wed, 19 Apr 2006 17:51:04 +0200

Hi, I'm trying to use TCC on a FC5 machine. TCC 0.9.23 compiled just
fine, but whenever I try to compile anything with it, I get an error:

In file included from key_reader.c:8:
In file included from /usr/include/stdlib.h:438:
In file included from /usr/include/sys/types.h:270:
/usr/include/bits/pthreadtypes.h:69: identifier expected

It seems that TCC doesn't like pthreadtypes.h, which is included by
stdlib.h, making it kind of hard to avoid. The offending lines:

...
65: typedef union
66: {
67:   char __size[__SIZEOF_PTHREAD_MUTEXATTR_T];
68:   long int __align;
69: } pthread_mutexattr_t;
70:
71:
72: /* Data structure for conditional variable handling.  The structure of
73:    the attribute type is not exposed on purpose.  */
74: typedef union
76: {
...

The above code looks reasonable and correct to me, so I'm guessing
this is a TCC bug.

--
Axel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]