lang/tcc unusable

Jung-uk Kim jkim at FreeBSD.org
Mon Aug 3 21:26:57 UTC 2015


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

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ó:
> 
> Hi Jung-uk,
>> 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().
> 
> Yes, it was a typo here :)

It seems it's a known tcc bug:

http://savannah.nongnu.org/bugs/?30966

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

iQEcBAEBCAAGBQJVv9yaAAoJEHyflib82/FGyo0IAJsHtcVWos+Ahd/dgq4O+KXM
OUy5yStNq90ryn2MevVXTlT6Jdp83G1tCa5lWOIr7NGyXKAT9IVpEvcYS2ePgMTU
6ZoE2eX3ZhM1NQCxeSDE0empIaIGwTdlKa89FC+vBjxM+OzqdcLhkgC1KEuXUHUX
DwwgWf/0EHZVY8jwPN7K0I7GUwO613dVQo+eNq6JG8h1Fyjr9P272wEI2LLpGPan
ywnRuEtIPMqitqY3UkStAcj5PPR+53jKgQWD2NdvALIcmF6juiHnTCkgrITCZcNc
c8Cx228MGISbI8NoYrggY2y+2QUwvyMklBopl6Q3q/MKJgWPuSACSQ2gAu/rgaI=
=8p00
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list