tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues


From: grischka
Subject: Re: [Tinycc-devel] [FreeBSD support] __aligned(n) + __pure issues
Date: Mon, 10 Oct 2016 12:35:19 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Christian JULLIEN wrote:
Thank you for your reply.
This is of course something I tried.
IMHO, because FreeBSD standard headers are known to use __aligned(x) and __pure, tcc should define them by default (at least for FreeFBSD) otherwise everybody will need to define those macros just to include standard header.
Wdyt?

I'd think

1) try to find out why it works for gcc but doesn't for tcc

2) then you could for example put stuff into tcc's stddef.h
   (assuming that the system headers will read it):

    #ifdef __FreeBSD__
    ... whatever
    #endif

Btw, please note that I don't (usually) commit other peoples'
patches the less ones that I can't test ;)

-- grischka




reply via email to

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