Fix appveyor windows build (#420)
* Fix msvcc dll build by adding dllexport decorations to all API declarations * Fix appveyor build for VS 2013 Use the new -DFFI_BUILDING_DLL for producing a working DLL. Update the msvcc.sh wrapper script to successfully compile the testsuite files. * MSVC build: suppress warnings in testsuite * fix testsuite on appveyor
This commit is contained in:
@@ -25,7 +25,15 @@ global compiler_vendor
|
||||
# flags to disable warnings for now.
|
||||
if { [string match $compiler_vendor "gnu"] } {
|
||||
set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized";
|
||||
} else {
|
||||
}
|
||||
if { [string match $compiler_vendor "microsoft"] } {
|
||||
# -wd4996 suggest use of vsprintf_s instead of vsprintf
|
||||
# -wd4116 unnamed type definition
|
||||
# -wd4101 unreferenced local variable
|
||||
# -wd4244 warning about implicit double to float conversion
|
||||
set warning_options "-wd4996 -wd4116 -wd4101 -wd4244";
|
||||
}
|
||||
if { ![string match $compiler_vendor "microsoft"] && ![string match $compiler_vendor "gnu"] } {
|
||||
set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-uninitialized";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user