This helps finding unimplemented functions; otherwise the symbol will exist, but won't contain any implementation, so the function will end up pointing at whatever other function the linker places next. --- mingw-w64-crt/math/_chgsignl.S | 2 ++ mingw-w64-crt/math/ceil.S | 2 ++ mingw-w64-crt/math/ceilf.S | 2 ++ mingw-w64-crt/math/ceill.S | 2 ++ mingw-w64-crt/math/copysignl.S | 2 ++ mingw-w64-crt/math/floor.S | 2 ++ mingw-w64-crt/math/floorf.S | 2 ++ mingw-w64-crt/math/floorl.S | 2 ++ mingw-w64-crt/math/nearbyint.S | 2 ++ mingw-w64-crt/math/nearbyintf.S | 2 ++ mingw-w64-crt/math/nearbyintl.S | 2 ++ mingw-w64-crt/math/trunc.S | 2 ++ mingw-w64-crt/math/truncf.S | 2 ++ 13 files changed, 26 insertions(+)
diff --git a/mingw-w64-crt/math/_chgsignl.S b/mingw-w64-crt/math/_chgsignl.S index 3876465..2eb7de8 100644 --- a/mingw-w64-crt/math/_chgsignl.S +++ b/mingw-w64-crt/math/_chgsignl.S @@ -45,5 +45,7 @@ __MINGW_USYMBOL(_chgsignl): movl %eax,12(%esp) fldt 4(%esp) ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/ceil.S b/mingw-w64-crt/math/ceil.S index 134029c..6458cec 100644 --- a/mingw-w64-crt/math/ceil.S +++ b/mingw-w64-crt/math/ceil.S @@ -128,4 +128,6 @@ __MINGW_USYMBOL(ceil): addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/ceilf.S b/mingw-w64-crt/math/ceilf.S index fe64149..31078e6 100644 --- a/mingw-w64-crt/math/ceilf.S +++ b/mingw-w64-crt/math/ceilf.S @@ -123,4 +123,6 @@ __MINGW_USYMBOL(ceilf): addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/ceill.S b/mingw-w64-crt/math/ceill.S index 724dd52..0152fb1 100644 --- a/mingw-w64-crt/math/ceill.S +++ b/mingw-w64-crt/math/ceill.S @@ -68,4 +68,6 @@ __MINGW_USYMBOL(ceill): fldcw 4(%esp) addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/copysignl.S b/mingw-w64-crt/math/copysignl.S index 5194330..67b46d0 100644 --- a/mingw-w64-crt/math/copysignl.S +++ b/mingw-w64-crt/math/copysignl.S @@ -43,4 +43,6 @@ __MINGW_USYMBOL(copysignl): movl %eax,12(%esp) fldt 4(%esp) ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/floor.S b/mingw-w64-crt/math/floor.S index 5c31404..932df0f 100644 --- a/mingw-w64-crt/math/floor.S +++ b/mingw-w64-crt/math/floor.S @@ -180,4 +180,6 @@ __MINGW_USYMBOL(floor): addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/floorf.S b/mingw-w64-crt/math/floorf.S index 45da320..cb182a3 100644 --- a/mingw-w64-crt/math/floorf.S +++ b/mingw-w64-crt/math/floorf.S @@ -63,4 +63,6 @@ __MINGW_USYMBOL(floorf): addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/floorl.S b/mingw-w64-crt/math/floorl.S index 7398743..ec99b92 100644 --- a/mingw-w64-crt/math/floorl.S +++ b/mingw-w64-crt/math/floorl.S @@ -76,4 +76,6 @@ __MINGW_USYMBOL(floorl): addl $8,%esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/nearbyint.S b/mingw-w64-crt/math/nearbyint.S index 6aa1046..5c38570 100644 --- a/mingw-w64-crt/math/nearbyint.S +++ b/mingw-w64-crt/math/nearbyint.S @@ -61,4 +61,6 @@ __MINGW_USYMBOL(nearbyint): popl %ecx popl %eax ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/nearbyintf.S b/mingw-w64-crt/math/nearbyintf.S index 54f64fd..146ea47 100644 --- a/mingw-w64-crt/math/nearbyintf.S +++ b/mingw-w64-crt/math/nearbyintf.S @@ -61,4 +61,6 @@ __MINGW_USYMBOL(nearbyintf): popl %ecx popl %eax ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/nearbyintl.S b/mingw-w64-crt/math/nearbyintl.S index f0aca0f..8f0e539 100644 --- a/mingw-w64-crt/math/nearbyintl.S +++ b/mingw-w64-crt/math/nearbyintl.S @@ -62,4 +62,6 @@ __MINGW_USYMBOL(nearbyintl): popl %ecx popl %eax ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/trunc.S b/mingw-w64-crt/math/trunc.S index d2fca29..86f61e9 100755 --- a/mingw-w64-crt/math/trunc.S +++ b/mingw-w64-crt/math/trunc.S @@ -103,4 +103,6 @@ __MINGW_USYMBOL(trunc): fldcw (%esp) addl $8, %esp ret +#else +#error Not supported on your platform yet #endif diff --git a/mingw-w64-crt/math/truncf.S b/mingw-w64-crt/math/truncf.S index 626b9a5..4b399da 100755 --- a/mingw-w64-crt/math/truncf.S +++ b/mingw-w64-crt/math/truncf.S @@ -83,4 +83,6 @@ __MINGW_USYMBOL(truncf): fldcw (%esp) addl $8, %esp ret +#else +#error Not supported on your platform yet #endif -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public