Re: [Dri-devel] Re: [Mesa3d-dev] Re-occurrence of macros arguments within its definition in Mesa headers

2002-07-01 Thread José Fonseca
On Mon, Jul 01, 2002 at 06:32:18AM -0600, Brian Paul wrote: >Keith Whitwell wrote: >>José Fonseca wrote: >> [...] > >I suggest two things: > >1. Put a comment where INTERP_F is defined, noting that some parameters >are evaluated twice. I'll do this. > >2. Change this: > INTERP_F( t, (*dst++

[Dri-devel] Re: [Mesa3d-dev] Re-occurrence of macros arguments within its definition in Mesa headers

2002-07-01 Thread José Fonseca
On Mon, Jul 01, 2002 at 07:43:40AM +0100, Keith Whitwell wrote: >José Fonseca wrote: [...] >> >>I think this is a bug in Mesa. First because a macro should generally >>behave as an >>ordinary function, unless there is a very special reason not to do so. > >Hmm, not really, this is something peopl

[Dri-devel] Re: [Mesa3d-dev] Re-occurrence of macros arguments within its definition in Mesa headers

2002-06-30 Thread Keith Whitwell
José Fonseca wrote: > While I was debugging a new vertex buffer template for Mach64 I've > discovered that this piece of code doesn't work: > > INTERP_F( t, (*dst++).f, (*out++).f * qout, (*in++).f * qin ); > INTERP_F( t, (*dst++).f, (*out++).f * qout, (*in++).f * qin ); > > The problem is tha