Hi,

On Tue, 11 Oct 2016, Chen, Xianwen wrote:

> In file included from Bessel_Function.c:1:
> In file included from C:/cygwin64/usr/include//stdio.h:60:
> In file included from C:/cygwin64/usr/include//sys/reent.h:15:
> C:/cygwin64/usr/include//sys/_types.h:168: error: ',' expected (got "__wch")

>From a bit googling that's probably this typedef:

 typedef struct
 {
   int __count;
   union
   {
     wint_t __wch;
     unsigned char __wchb[4];
   } __value;    /* Value so far.  */
 } _mbstate_t;

If so, that means the type wint_t isn't defined, which should have been 
defined by <stddef.h> when __need_wint_t itself was defined before 
including it.  That in turn means you're using an old version of TCC, 
because commit 0961a384 from April 2014 fixed this.

That is, update your TCC.


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to