Port-sparc archive

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

Re: call for GCC 4.5.3 testers



On Tue, Aug 16, 2011 at 04:05:54AM +1000, matthew green wrote:
> 
> > /public/netbsd-developer/external/bsd/bind/dist/lib/isc/nothreads/condition.c:26:1:
> > error: 'isc__empty' defined but not used
> > *** [condition.o] Error code 1
> > nbmake: stopped in /public/netbsd-developer/external/bsd/bind/lib/libisc
> > 1 error
> > 
> > where EMPTY_TRANSLATION_UNIT aka isc__empty() is #defined in
> > external/bsd/bind/dist/lib/isc/include/isc/util.h.
> 
> try making this line be:
> 
> #define EMPTY_TRANSLATION_UNIT static void isc__empty(void) { }

Something like
extern int foo;
is probably safer...
Always used to be enough to avoid the 'empty translation unit' message.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index