darealshinji
darealshinji
I was looking up things and tested some stuff. The functions are now provided by most *nix/BSD systems through endian.h or sys/endian.h, no need to define them on systems other...
``` /bin/bash ./libtool --tag=CC --mode=compile x86_64-w64-mingw32.static-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL_image\" -DVERSION=\"1.2.12\" -DLOAD_JPG=1 -DLOAD_PNG=1 -DLOAD_WEBP=1 -DLOAD_BMP=1 -DLOAD_GIF=1 -DLOAD_LBM=1...
``` libtool: compile: x86_64-w64-mingw32.static-gcc -g -O2 -D_GNU_SOURCE=1 -I/home/djcj/opt/mxe/usr/x86_64-w64-mingw32.static/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fvisibility=hidden -DWAV_MUSIC -DMODPLUG_MUSIC -I/home/djcj/opt/mxe/usr/x86_64-w64-mingw32.static/include/libmodplug -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I/home/djcj/opt/mxe/tmp-sdl_mixer-x86_64-w64-mingw32.static/SDL_mixer-1.2.12/timidity -DUSE_NATIVE_MIDI -I/home/djcj/opt/mxe/tmp-sdl_mixer-x86_64-w64-mingw32.static/SDL_mixer-1.2.12/native_midi -DOGG_MUSIC -DHAVE_SIGNAL_H -DHAVE_SETBUF -DMP3_MUSIC -I/home/djcj/opt/mxe/usr/x86_64-w64-mingw32.static/include -I/home/djcj/opt/mxe/usr/x86_64-w64-mingw32.static/include/smpeg -I/home/djcj/opt/mxe/usr/x86_64-w64-mingw32.static/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -MMD -MT...
I've tried to fix some of the GCC compiler warnings on Linux. I've also silenced `-Wdiscarded-qualifiers` as there are way too many warnings, since the code doesn't seem to distinguish...
Separate between cl.exe and clang-cl. Don't set alignment on cl.exe because inline assembly isn't used there.