Date: Mon, 03 Aug 2015 22:41:07 +0200 From: Carlos Jacobo Puga Medina <cpm@fbsd.es> To: Jung-uk Kim <jkim@FreeBSD.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: lang/tcc unusable Message-ID: <1438634467.7343.2.camel@fbsd.es> In-Reply-To: <55BFD033.8070507@FreeBSD.org> References: <1438633579.6572.13.camel@fbsd.es> <55BFD033.8070507@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-7vjy125dwYg7xPlU7Aa+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El lun, 03-08-2015 a las 16:33 -0400, Jung-uk Kim escribi=C3=B3: Hi Jung-uk, > On 08/03/2015 16:26, Carlos Jacobo Puga Medina wrote: > > Hi people, > >=20 > > Recently I added amd64 support to TinyCC, but I encounter the > > following problem trying to compile a simple code. > >=20 > > #include <stdio.h> > >=20 > > int main(){ printf("hello, world!\n); return 0; } > >=20 > > % tcc -o hello hello.c In file included from hello.c:1:=20 > > /usr/include/stdio.h:63: error: ';' expected (got "va_list") > >=20 > > I guess that some change introduced in 'stdio.h' causes this weird=20 > > behaviour. Last time that TCC worked fine was on FreeBSD 9.1=20 > > -RELEASE/i386. > >=20 > > Also I reported this problem in the tinycc-devel mailing list [1] > >=20 > > Any thoughts? >=20 > I haven't tried tcc but '"' is missing for the printf(). Yes, it was a typo here :) > Jung-uk Kim --=20 Carlos Jacobo Puga Medina <cpm@fbsd.es> PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-7vjy125dwYg7xPlU7Aa+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABCAAGBQJVv9HjAAoJEKHzXWbm0FRT+ccH/2P6awJpIFZ/mvFVcQCP1pSt oc4YNRHgFemlKUHj8eDXoxynvBEx6lIpQJMWcJJr1gOwjmKkdVgeDajfwO0gA9Y3 Epup3OQk+JjEnet1m82O/UYWUwJBWVErIWYUTl5SlkfEhz3y51QoLnwgVvvz5L3S EEU3fm5pipsK6s19bpgUHC29C+lV9vOhOBNinfBVyPvrHV/ev5MX6iIJytiI4qUi MpKaR2xQRQUaxWBs0ozfyV81cRLXal0jQ9BP/Xc73AnOdzx5+hbPPz6rbNzq+eSI 4gMbj34dN7kEhQRSQHQPsLjs91bhiGe7+PrKkUIz/dbSHlzWVl0ZAIYYkCq6beI= =CeVX -----END PGP SIGNATURE----- --=-7vjy125dwYg7xPlU7Aa+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1438634467.7343.2.camel>