Date: Mon, 3 Aug 2015 16:33:55 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: Carlos Jacobo Puga Medina <cpm@fbsd.es>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: lang/tcc unusable Message-ID: <55BFD033.8070507@FreeBSD.org> In-Reply-To: <1438633579.6572.13.camel@fbsd.es> References: <1438633579.6572.13.camel@fbsd.es>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BFD033.8070507>