Zack Weinberg wrote:
> Folks with exotic systems (non-Linux, non-*BSD) might wanna check what
> I did to the configure script, btw. I might have been overoptimistic.
> :-/
Well, configure worked on CygWin, compile less so ;-)
% make
[...]
In file included from ./sanity.hh:19,
from win32/read_password.cc:12:
./numeric_vocab.hh:45:44: macro "max" requires 2 arguments, but only 1 given
% context 45 numeric_vocab.hh
42 else
43 {
44 const size_t char_bit = std::numeric_limits<unsigned
char>::digits;
45 T mask = std::numeric_limits<T>::max();
46 size_t shift = (sizeof(T) - sizeof(V)) * char_bit;
47 mask >>= shift;
48 return static_cast<T>(v) & mask;
--
Lapo Luchini - http://lapo.it/
“…one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C programs.” (Robert Firth)
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel