sdl2_frt/src/libm
Sam Lantinga 5f38b5d705 Fixed bug 3979 - Failed to link with "multiple definition of `scalbln'" error on both MinGW and MinGW-w64 by CMake
Vitaly Novichkov

Once I ran build of my codecs collection on AppVeyor where my CMake script downloads latest SDL2 from HG repo, failed to link because of math functions conflict:

https://ci.appveyor.com/project/Wohlstand/audiocodecs/build/1.0.44
The revision is b9ff5f8b2303

There are both vanilla MinGW and MinGW-w64 are failed to build.


```
[100%] Linking C shared library libSDL2.dll
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../libmingwex.a(scalbn.o):(.text+0x0): multiple definition of `scalbln'
CMakeFiles\SDL2.dir/objects.a(s_scalbn.c.obj):C:/projects/audiocodecs/build-MinGW-Release-Win32/external/SDL2/src/SDL2HG/src/libm/s_scalbn.c:30: first defined here
2017-11-24 03:01:07 -08:00
..
e_atan2.c Fixed compiler warnings after uClibc code update 2017-11-04 17:39:28 -07:00
e_fmod.c Fixed compiler warnings after uClibc code update 2017-11-04 17:39:28 -07:00
e_log.c Disabled spurious Visual Studio warnings in the uClibc math code 2017-11-21 21:51:33 -08:00
e_pow.c Disabled spurious Visual Studio warnings in the uClibc math code 2017-11-21 21:51:33 -08:00
e_rem_pio2.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
e_sqrt.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
k_cos.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
k_rem_pio2.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
k_sin.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
k_tan.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
math_libm.h Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
math_private.h Fixed bug 3979 - Failed to link with "multiple definition of `scalbln'" error on both MinGW and MinGW-w64 by CMake 2017-11-24 03:01:07 -08:00
s_atan.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
s_copysign.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
s_cos.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
s_fabs.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
s_floor.c Fixed compiler warnings after uClibc code update 2017-11-04 17:39:28 -07:00
s_scalbn.c Added SDL_fmod() and SDL_fmodf() 2017-11-04 17:35:03 -07:00
s_sin.c Updated math code from the uClibc 0.9.33 release 2017-11-04 15:53:19 -07:00
s_tan.c Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00