tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] 2 corrections to tinycc v0.9.27


From: grischka
Subject: Re: [Tinycc-devel] 2 corrections to tinycc v0.9.27
Date: Tue, 13 Feb 2018 22:23:19 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

grischka wrote:
Though it seems to me that if you do
    #define _wstat _wstat64
then you'd also need to
    #define _stat _stat64
in order to have the st_Xtime members filled correctly.

Hm.  Actually I wonder since when tcc doesn't warn if a function
is called with an incompatible struct:

    struct a;
    struct b;
    void f(struct a** ppa)
    {
    }
    int main(int argc, char **argv)
    {
        struct b ** ppb = NULL;
        f(ppb);
        return 0;
    }

Someone wants to fix this?

Thanks,

-- gr





reply via email to

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