Solves the compilation issue. If bftpd uses configure, I advise you to check ./configure log and see differences in config.h when this package is compiled with gcc and tcc. I bet they are different.
Sometimes, systems definitions rely on GCC specific macros like __GNU_something.
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=[hidden email]] On Behalf Of Julio Carchi
Sent: Friday, March 27, 2020 11:47
To: [hidden email] Subject: [Tinycc-devel] error: unknown type size with struct sockaddr_in sa
my name is Julio Carchi, and I am from Ecuador, I am trying to compile
several things with TCC, I am using the latest rev on the mob branch of
This time I am compiling bftpd but in one of the files I am getting an
commands.c:66 error: unknown type size
the line 66 is as follows:
66 struct sockaddr_in sa;
If I comment that line fails in a similar line below.
136 struct sockaddr foo;
I don't know if is a problem with TCC or incompatibility with GCC, so
please let me know what is happening and how could I fix it.