On Mon Jul 29, 2002 at 10:51:47PM +0200, Grendel wrote: > On Mon, Jul 29, 2002 at 02:44:25PM -0600, Erik Andersen scribbled: > [snip] > > The problem seems to be that > > DRM_ERROR( "no scatter/gather memory!\n" ); > > > > expands into > > printk("<3>" "[" "drm" ":%s] *ERROR* " "cannot allocate PCI GART page!\n" , ) ; > > > > I think the __FUNCTION__ changes to DRM_ERROR and friends in drmP.h > > look awfully bogus. > Nope, it's a cpp (3.0+ is fine) error - the ##args is not generated correctly when > 'args...' in DRM_ERROR is empty. Yes I know. And the problem occurs as a result of moving __FUNCTION__ out of the format string, -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons--