Hello Steffen !
Thank you for pointing out
https://directory.fsf.org/wiki/Lightweight_C++ I just downloaded it and
fixed several compilers warnings/errors but but there is a need to add
code to handle/ignore "__attribute__" for the preprocessed headers.
I'm making my fixes available here
https://github.com/mingodad/cfront-3/issues/6
Cheers !
On 25/2/22 15:54, [email protected] wrote:
Yeah, nice project to add some "c++" support to tcc almost for "free".
The dude disappeared after version 1.3.2 in 2008, he perhaps would have
improved it some more.
The "instrumentation/decoration" of header files is getting really ridiculous.
I pity the preprocessor sometimes, it might see some really horrible things.
I'm wondering if it doesn't commit suicide during some builds.
Regards.
----- Mail d'origine -----
De: Steffen Nurpmeso <[email protected]>
À: [email protected]
Envoyé: Fri, 25 Feb 2022 15:15:59 +0100 (CET)
Objet: Re: [Tinycc-devel] Re : Re: Extend tcc to use viable.
[email protected] wrote in
<1238558077.310183504.1645790418505.javamail.r...@zimbra30-e5.priv.proxa\
d.net>:
|Try this : https://directory.fsf.org/wiki/Lightweight_C++
Downloaded it and looked, and wow that is overly impressive!
Some students really go the D. E. Knuth way it seems.
Making it compile is no hard work, but it seems modern C library
headers are instrumented so much it cannot grasp them.
Maybe some day i try to hack it and make that thing work, remove
exceptions and all that. _That_ language would really be the C++
i like! (At least in practice, my templates have never been
anything else but typesafe wrappers for generic C types.)
Of course things tend to become more complicated in real life :)
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel