msvc fixes

pull/1289/head
Alexander Medvednikov 2019-07-24 00:20:07 +02:00
parent be7f89f664
commit b48e23757f
3 changed files with 14 additions and 5 deletions

View File

@ -664,11 +664,12 @@ fn (v mut V) cc() {
return
}
}
if v.os == .msvc {
cc_msvc(v)
return
$if windows {
if v.os == .msvc {
cc_msvc(v)
return
}
}
linux_host := os.user_os() == 'linux'
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
mut a := [v.pref.cflags, '-w'] // arguments for the C compiler

View File

@ -0,0 +1,8 @@
module main
fn cc_msvc(v *V) {
}
fn build_thirdparty_obj_file_with_msvc(flag string) {
}