> Date: Thu, 15 Nov 2012 18:34:51 +0100 > From: grischka <[email protected]> > To: [email protected] > Cc: [email protected] > Subject: Re: [Tinycc-devel] [ RFC] About packing two infos in a long > v2 > Message-ID: <[email protected]> > 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. _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
