Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 22:26:19 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   lang/tcc unusable
Message-ID:  <1438633579.6572.13.camel@fbsd.es>

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

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

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.=20

Also I reported this problem in the tinycc-devel mailing list [1]

Any thoughts?

[1]=20
https://lists.gnu.org/archive/html/tinycc-devel/2015-07/msg00020.html
--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>
PGP fingerprint =3D C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
--=-/Y5SDq8oPh8i9HtOi4nH
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

iQEcBAABCAAGBQJVv85rAAoJEKHzXWbm0FRTRbsH/0j7NmzV/Bp/Vcl+PbyVbF99
NlSzSYNo2FpkMoSyGv0BY1vByjFmyeXiO3MVfVSur0N5xG5dzeR6sFxT8U5tIzUO
5X6lYFa9z0kasTm+dooBNlfUJgnQyV8Mv/7LvvD3BlagMAKkmdNEgp2mpXKyJXIO
tStMYAXvchPX+p6wG9xLRzfso3iJf1UrymPLnTKQrBqcSJq3zowiC/xbnODxgvTJ
UC9xPSaB+YtKDl1uZlTTw0XaMB20BlOLEPmNK6KbBTZhde7NbIf4Uv3PJZNKWMDS
HbAQ7ZJhPbvq1tsy3CKXg5nxZPkkwuf2lJoOLLe6IZqS1n65mR5lumNYJa/sMaI=
=JZLD
-----END PGP SIGNATURE-----

--=-/Y5SDq8oPh8i9HtOi4nH--




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