lang/tcc unusable

Jung-uk Kim jkim at FreeBSD.org
Mon Aug 3 20:33:56 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/03/2015 16:26, Carlos Jacobo Puga Medina wrote:
> Hi people,
> 
> Recently I added amd64 support to TinyCC, but I encounter the
> following problem trying to compile a simple code.
> 
> #include <stdio.h>
> 
> int main(){ printf("hello, world!\n); return 0; }
> 
> % tcc -o hello hello.c In file included from hello.c:1: 
> /usr/include/stdio.h:63: error: ';' expected (got "va_list")
> 
> I guess that some change introduced in 'stdio.h' causes this weird 
> behaviour. Last time that TCC worked fine was on FreeBSD 9.1 
> -RELEASE/i386.
> 
> Also I reported this problem in the tinycc-devel mailing list [1]
> 
> Any thoughts?

I haven't tried tcc but '"' is missing for the printf().

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVv9AuAAoJEHyflib82/FGcssH/RJOU1MJFGfiV4EzWeSm9rNy
XzqwOQUH3SjcMVf/13JeBOPTYvrpvGra/V6LkazptufyJXWxlIIZ2bLiTwJx+ruw
wDJyzjyXOdvWM202Xz0RvBZiduawQgs4nTBuqPM+7XX1p59njkm0mTQ1nVxQtjcf
4A2h6zSO/65rlkWFkdY+a6QO9J03joV6nwBkD7UIUeoJL4RdiRSaAn6oa6pjB71S
XCS69y9mSoXVE9rWd/nELhy46VCkMrx30l01Dbh61FWJNSKJDilkmeJdp1JvX4Nq
tXPJyGb235jdXzo/dXk2xjPjlRDPvw+dBWG8jNUB/Zh/oYR4StUxpOj8wrvvpZo=
=JZI6
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list