[dtrace-discuss] confusing syntax error - help?

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Nov 20 13:03:12 PST 2007


Dan Mick <dan.mick at sun.com> wrote:

> Joerg Schilling wrote:
> > Dan Mick <dan.mick at sun.com> wrote:
> > 
> >> Try sudo truss -f -t exec -a dtrace -I. -C -s d4.d and see what cpp you're 
> >> getting.  I believe you should be getting /usr/ccs/lib/cpp; that's what I get 
> >> when it works.
> > 
> > This is a K&R cpp that behaves different from cc -E which is a ANSI cpp.
>
> That's correct, though irrelevant; the relevant point is that it translates 
> /**/ into a null string.

Which is a result of the fact that it is a K&R cpp.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


More information about the dtrace-discuss mailing list