[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] the most useless question on this list about basic c+
Re: [Tinycc-devel] the most useless question on this list about basic c++ extensions
Mon, 10 May 2010 10:32:46 +0200
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20100330 Shredder/3.0.4
On 05/09/10 23:08, Thomas Preud'homme wrote:
On Saturday 08 May 2010 17:05:32 mobi phil wrote:
the most useless question on this list:
did anybody think about adding basic C++ extensions to tcc, eventually
trivial form of templates?
tcc misses at least one thing for C++: exception handling. I plan to implement
it but I won't start the implementation before mid june so don't be too in a
hurry. :) And of course the C++ parsing must be added. As some some rules are
different than in C (like priority of operators), this might require some
(maybe minor) refactoring. Also, the calling convention is different so there
is work to do in the symbols generation as well. That's for what I know, I may
have forgotten things.
C++ is a very different weird and hardly complex language compared to C.
Are you saying that TCC will support it? In mainstream? As an extension?
I would really prefer to not have such support..and in case, just think on
object-oriented extensions, but not c++.