Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Marshall <keithmarshall@@users.sf.net>2008-10-14 02:47:58 +0400
committerKeith Marshall <keithmarshall@@users.sf.net>2008-10-14 02:47:58 +0400
commit206473437f7ef62fe9a5077a4f256f2c396ed2e1 (patch)
treefdf2de740d40640046d6421250ccfa6e313b6c7d /winsup/mingw/include/math.h
parent5f9ca0d25add60f331f8a39ce308ffd99157f0b4 (diff)
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().
Diffstat (limited to 'winsup/mingw/include/math.h')
-rw-r--r--winsup/mingw/include/math.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index abe899e4a..0577d0cc2 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -259,7 +259,14 @@ _CRTIMP double __cdecl y1 (double);
_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);