[Xapian-devel] Win32 and maintainer mode
franz.g at tin.it
franz.g at tin.it
Thu May 5 00:16:24 BST 2005
Hello again...
We said:
(me)
>> (the option also breaks
>> xapian-core builds actually, as it passes -Werror and there are many
header
>> files that generate warnings!).
(you)
> Which GCC version? Warnings from system headers are normally suppressed
> (at least by GCC 3 onwards).
I just complained too fast: there is just a redefinition of NOMINMAX in
common/utils.cc, that GCC (3.4.2) notices and causes -Werror to stop further
compilation. This can be easily fixed writing at line 35:
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX
instead of just #define NOMINMAX. This should not harm. After this xapian-core
builds seamlessly and passes all the tests, even with --enable-maintainer-mode
turned on. By the way, the svn distribution bootstraps perfectly on Win32/MinGW/MSYS
after installing automake 1.9.5 from source!
Cheers,
F.
More information about the Xapian-devel
mailing list