Hi,
With a current version of gnulib and MSVC10, I get a compilation error
in octave due to signbit being #define'd by gnulib's math.h module.
The configure script ends up with GNULIB_SIGNBIT being 1 and
REPLACE_SIGNBIT being 1. This causes signbit being #define'd as
# define signbit(x) \
(sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \
sizeof (x) == sizeof (double) ? gl_signbitd (x) : \
gl_signbitf (x))
The problem is that one octave file defines a class with a method
called signbit. This leads to a syntax error in the compiler. Now,
when looking signbit documentation, it looks like it should be a
macro. So is octave wrong when using signbit as a class method name?
Michael.