Hi Richard,
Hi Jan,
On 11/04/2016 07:56 PM, Jan Rheinländer wrote:
it's defined in <corecrt_io.h> which in turn is included by <io.h> Interesting. And which header includes <io.h>? (I'm sure you don't mean <cln/io.h>.) I can't really find anything. Maybe autoconf does some magic? Because in libtool and ltmain.sh it says:
#ifdef _MSC_VER # include <direct.h> # include <process.h> # include <io.h> #else # include <unistd.h> # include <stdint.h> # ifdef __CYGWIN__ # include <io.h> # endif #endif I see. And thanks for your patience. Does the attached patch work, then? yes, everything compiles fine and all checks pass.
Jan P.S. In numeric.cpp line 445 the compiler warns about the usage of bool in the comparison if (cln::plusp(x) > 0) since plusp() returns a bool value.