+2008-10-13 Keith Marshall <keithmarshall@users.sourceforge.net>
+
+ Fix MinGW-Bug [2160227]
+ Eliminate conflicting declarations and implementations of scalb().
+
+ * moldname.def.in (scalb): Comment out of EXPORTS list.
+ * include/math.h (scalb): Comment out OLDNAMES prototype; it conflicts
+ with GCC's built-in declaration.
+
2008-10-12 Christopher Faylor <me+cygwin@cgf.cx>
* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
_CRTIMP double __cdecl yn (int, double);
_CRTIMP double __cdecl chgsign (double);
+/*
+ * scalb() is a GCC built-in.
+ * Exclude this _scalb() stub; the semantics are incompatible
+ * with the built-in implementation.
+ *
_CRTIMP double __cdecl scalb (double, long);
+ *
+ */
_CRTIMP int __cdecl finite (double);
_CRTIMP int __cdecl fpclass (double);
y1
yn
chgsign
-scalb
+; omit scalb...
+; it would conflict with the GCC built-in, which exhibits
+; semantics differing from the MSVCRT implementation.
+;scalb
finite
fpclass
; C99 functions