tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] constructor/destructor support


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] constructor/destructor support
Date: Sun, 27 Oct 2019 18:56:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 2019-10-26 06:08, Christian Jullien wrote:
Thank again for this new tcc contribution which makes sense.

Let me make few remarks:

- First, since it works like gcc extension and because tcc already includes 
"some' gcc compatibility to ease portability between compilers, I would 
personally vote to include this patch.
- I've no clear option if we want to support this extension on Windows. To 
answer this question:
   * what we already doing on Windows with gcc specific extensions?
   * having it, even if not supported by standard vc++, will let to have a 
single source code that works the same on all tcc supported system
   * gcc on Windows supports all its extensions unless they conflict with vc++ 
(are there any?)
- Currently, I have the impression that test case is ran also on Windows .. 
which probably raises an error.

That said, if maintainers agree your patch, I would probably prefer it is 
supported also on Windows which is more in the spirit of what gcc does on 
different platforms.

As usual, I'll be very happy to test it on the different platforms I have 
access to
I will try to implement this on windows. However the first tests show that this does not work for dll's (or wine/cygwin is broken). This will take some time. I have other things to do. I will probably sent the updated patch at the end of november.

    Herman




reply via email to

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