Re: [9fans] "..." and "##' stuff with pcc?

2015-05-31 Thread Charles Forsyth
On 31 May 2015 at 17:31, Ori Bernstein wrote: > > It doesn't understand the named ... variant, which I suppose is more > recent > > tinkering. Use the older __VA_ARGS__. > > IIRC, the named variant is older, but it's also a GNU extension. I've looked at the C99 and C1x standards and both descri

Re: [9fans] "..." and "##' stuff with pcc?

2015-05-31 Thread Ori Bernstein
On Sun, 31 May 2015 11:14:42 +0100 Charles Forsyth wrote: > It doesn't understand the named ... variant, which I suppose is more recent > tinkering. Use the older __VA_ARGS__. IIRC, the named variant is older, but it's also a GNU extension. -- Ori Bernstein

Re: [9fans] "..." and "##' stuff with pcc?

2015-05-31 Thread Charles Forsyth
On 25 May 2015 at 19:44, Jens Staal wrote: > It did however not work (I guess the "..." and "##" are to blame?) so now > I wonder how/if it is possible with the posix compiler on plan9? It doesn't understand the named ... variant, which I suppose is more recent tinkering. Use the older __VA_ARG

Re: [9fans] "..." and "##' stuff with pcc?

2015-05-29 Thread erik quanstrom
On Mon May 25 12:39:27 PDT 2015, staal1...@gmail.com wrote: > Hi all. > > I tried using the following shim header to satisfy in a package I > want to build. > > https://raw.githubusercontent.com/libressl-portable/portable/master/include/err.h > > It looked pretty neat since it does everything

[9fans] "..." and "##' stuff with pcc?

2015-05-25 Thread Jens Staal
Hi all. I tried using the following shim header to satisfy in a package I want to build. https://raw.githubusercontent.com/libressl-portable/portable/master/include/err.h It looked pretty neat since it does everything in the header. It did however not work (I guess the "..." and "##" are to bl