Rich Morin <[EMAIL PROTECTED]> wrote:

> At 12:58 +0000 11/20/07, Quinn wrote:
> > At 19:00 -0800 19/11/07, Rich Morin wrote:
> >>#define S(x) self->arg/**/x = arg/**/x
> >
> > Yikes!  I'm astonished that folks still uses this sort
> > of pre-ANSI stuff.  You sure you can't switch your macro
> > to use ##?  That seems like the most forward-looking
> > solution.
>
> I'll definitely give it a try.  FWIW, the last serious C
> coding I did was about 20 years ago.  These days, I write
> most of my code in Ruby.

If you convert to ## and if Dtrace on Solaris still calls /lib/cpp,
it will no longer work on Solaris.

Check the __CONCAT__ macro in /usr/include/sys/*.h

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to