On Mon, Jun 23, 2008 at 01:52:07PM +0100, Stephane Chazelas wrote: [...] > So, %as is not available for instance with: > > cc -D__STDC_VERSION__=199901L > (tcc does set that as a builtin macro > http://hg.sharesource.org/mercurialtcc/rev/1e81d5b65878) [...]
FYI, and I'm getting off-topic here, the rationale for tcc setting __STDC_VERSION__ to 199901L can be found in glibc's features.h: /* Decide whether a compiler supports the long long datatypes. */ #if defined __GNUC__ \ || (defined __PGI && defined __i386__ ) \ || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__)) \ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) # define __GLIBC_HAVE_LONG_LONG 1 #endif So any non-GNU compiler that supports "long long" would have to set __STDC_VERSION__ to something >= 199901L So with any such compiler, you'd need to #define _GNU_SOURCE to have access to %as. In any case it makes sense to use _GNU_SOURCE given that it *is* a GNU extension. Best regards, Stéphane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]