[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [ RFC] About packing two infos in a long v2
From: |
Jared Maddox |
Subject: |
Re: [Tinycc-devel] [ RFC] About packing two infos in a long v2 |
Date: |
Tue, 20 Nov 2012 21:48:09 -0600 |
> Date: Thu, 15 Nov 2012 18:34:51 +0100
> From: grischka <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Tinycc-devel] [ RFC] About packing two infos in a long
> v2
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> > + typeof(s1->sym_attrs) tab;
>
> Is this C? Note that not just GCC and TCC might be used to compile
> tcc. (E.g. more recent MS compilers from the VCExpress editions used
> to work)
>
> Thanks,
>
> --- grischka
>
I was certain that they added typeof in C11, but apparently I had
confused it with alignof. It's somewhat surprising, since sizeof
should require the same data, and it should be useful in macros.
A quick google for "msvc typeof" produced this:
http://www.nedproductions.biz/blog/implementing-typeof-in-microsofts-c-compiler
So, apparently on MSVC it can be done by resorting to C++ gimmicks,
but I agree that it shouldn't used be in TCC's actual source code.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Tinycc-devel] [ RFC] About packing two infos in a long v2,
Jared Maddox <=