Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 23:40:22 +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:  <1438638022.7343.7.camel@fbsd.es>
In-Reply-To: <55BFDCA0.8040006@FreeBSD.org>
References:  <1438633579.6572.13.camel@fbsd.es> <55BFD033.8070507@FreeBSD.org> <1438634467.7343.2.camel@fbsd.es> <55BFDCA0.8040006@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-XkMLhWF05pAsg2ZlI7KO
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

El lun, 03-08-2015 a las 17:26 -0400, Jung-uk Kim escribi=C3=B3:
> On 08/03/2015 16:41, Carlos Jacobo Puga Medina wrote:
> > El lun, 03-08-2015 a las 16:33 -0400, Jung-uk Kim escribi=C3=B3:
> >=20
> > 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=20
> > > > 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 behaviour. Last time that TCC worked fine was on FreeBSD
> > > > 9.1 -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().
> >=20
> > Yes, it was a typo here :)
>=20
> It seems it's a known tcc bug:
>=20
> http://savannah.nongnu.org/bugs/?30966
>=20

Is there something that we can do about it?

Thanks for pointing me, jkim@
--
Carlos Jacobo Puga Medina <cpm@fbsd.es>
PGP fingerprint =3D C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
--=-XkMLhWF05pAsg2ZlI7KO
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

iQEcBAABCAAGBQJVv9/GAAoJEKHzXWbm0FRT3RAH/AmVbay2rTajSipbfcO1TDrl
B9X86w1NRPIe5w21Mlap8TJgb51qH5bArsSjWEs1q0F9BUebY2YL5/ODwYAj4aOt
w6bI3Yi8vA5vHr89P0WPJiTjiP0proEnT8LeW7bXgYV61TtMGJodveRYGW3uhq2R
+/fYLI6OmSI4UplTCG/1X18SgX3nBz0t0owNo597fJwN/gjKxJhq5/vuoKG//x9d
4ee9Wg/Wcp0BAZKE95Gi7eoOqS2MBylA5BSNr51v/zgTLzU7roHKo/Uze66uXPgo
wCT+eMoPYrdwhWVreSNP6zGK0HFj4Im6Ha5mdTbEPUGb5OwKwGuz3phFJKq1UK8=
=rHOW
-----END PGP SIGNATURE-----

--=-XkMLhWF05pAsg2ZlI7KO--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1438638022.7343.7.camel>