tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghostscript, __func__



On Mon, Jul 11, 2011 at 10:08:34AM +0200, Ignatios Souvatzis wrote:
 > ./base/gserror.h:29:1: warning: "__func__" redefined
 > (...)
 > /usr/include/sys/cdefs.h:322:1: warning: this is the location of the 
 > previous definition
 > 
 > Should we patch gserror to not redefine it if defined already?

Probably. Although to get the definition from sys/cdefs.h ghostscript
must be building with -std=c89 or similar, in which case it shouldn't
be using __func__...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index