Fix mex-compilation on Windows
In master, I get
Compiling static MEX...
""gcc" -O3 -g0 --param ira-max-conflict-table-size=1 -fno-forward-propagate -fno-gcse -fno-dce -fno-dse -fno-tree-fre -fno-tree-pre -fno-tree-cselim -fno-tree-dse -fno-tree-dce -fno-tree-pta -fno-gcse-after-reload -I "C:\\Program Files\\MATLAB\\R2020a\\extern\\include" -L "C:\\Program Files\\MATLAB\\R2020a\\bin\\win64" -fexceptions -DNDEBUG -static-libgcc -static-libstdc++ -shared "example1_use_dll\\model\\src\\static.c" -o "+example1_use_dll\\static.mexw64" -lmex -lmx"
Compilation failed
while it still works in Dynare 4.6.1. It seems something broke around 7b118986
Generally, it would be great to provide the output of the system
-command in case of compilation failure for further debugging.