tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Use TCC with GSL under Windows


From: Michael Matz
Subject: Re: [Tinycc-devel] Use TCC with GSL under Windows
Date: Fri, 14 Oct 2016 17:56:16 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)

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.



reply via email to

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