Broken build with MSVC 2015
Brought to you by:
sobukus
Latest release 1.25.8 can not be built under MSVC 2015 in Win32 configuration (x64 builds just fine).
The problem is with asm files and several undefined macros in them.
Example error output is:
1> dct36_3dnow.S 1> Win32\Debug_x86_Dll\dct36_3dnow.asm:690: error: instruction not recognized: `PREPARE_GOT' 1> Win32\Debug_x86_Dll\dct36_3dnow.asm:691: error: instruction not recognized: `GET_GOT' 1> Win32\Debug_x86_Dll\dct36_3dnow.asm:788: error: instruction not recognized: `RESTORE_GOT' 1> dct36_3dnowext.S 1> Win32\Debug_x86_Dll\dct36_3dnowext.asm:703: error: instruction not recognized: `PREPARE_GOT' 1> Win32\Debug_x86_Dll\dct36_3dnowext.asm:704: error: instruction not recognized: `GET_GOT' 1> Win32\Debug_x86_Dll\dct36_3dnowext.asm:799: error: instruction not recognized: `RESTORE_GOT'
As I understnad problem is with undefined OPT_X86 macro for .S files processing. Consequently in mangle.h macros PREPARE_GOT, RESTORE_GOT and GET_GOT are undefined and they go to asm files unchanged.
The MSVC files are rotting away with time … does the added cmake build (ports/cmake) help you in getting things built with MSVC?
Closing this … MSVC port will go away.