tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Proposal to allow tcc to compile header files


From: Christian Jullien
Subject: Re: [Tinycc-devel] Proposal to allow tcc to compile header files
Date: Mon, 28 Jun 2021 13:10:07 +0200

I submitted a patch, now tcc silently compiles .h as a C source code which is also what gcc does.

 

C.

 

From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On Behalf Of Arthur Williams
Sent: Sunday, June 27, 2021 07:59
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] Proposal to allow tcc to compile header files

 

I've noticed some programs (eg strace) fail to compile with tcc because they try to compile a header and tcc fails with "unrecognized file type". Compiling the header as if it was a ".c" seems like a safe thing to do and is a simple patch.

Any objections/concerns? I'm not trying to defend/encourage the act of compiling headers, but would prefer to not have to patch all the offending packages if it could be avoided.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]