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
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel