Compile problem - libdb
Matthias Andree
matthias.andree at gmx.de
Mon Jan 19 04:45:47 CET 2004
On Sun, 18 Jan 2004, David Relson wrote:
> You're making progress. You compiler is on the old side, but the
> problem is more in the header files. The good news is that the fix is
> easy (I think). Add the following three lines before the last non-empty
> line in file src/system.h
>
> #ifndef __attribute__
> #define __attribute__(x)
> #endif
This is not working, you could write #if 1 instead of the #ifndef.
#ifdef __attribute__
#warning "first branch, use attributes"
#else
#warning "no attributes"
#endif
results in "no attributes" on GCC 3.3.1.
This should be #ifndef __GNUC__ instead, as we assume GNUC
__attribute__s.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
More information about the Bogofilter
mailing list