trunk/scripts/src/3rdparty.lua
| r250232 | r250233 | |
| 16 | 16 | "/wd4127", -- warning C4127: conditional expression is constant |
| 17 | 17 | "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data |
| 18 | 18 | } |
| 19 | if _OPTIONS["vs"]=="intel-15" then |
| 20 | buildoptions { |
| 21 | "/Qwd111", -- remark #111: statement is unreachable |
| 22 | "/Qwd1879", -- warning #1879: unimplemented pragma ignored |
| 23 | "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands |
| 24 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 25 | } |
| 26 | end |
| 19 | 27 | configuration { "vs2015" } |
| 20 | 28 | buildoptions { |
| 21 | 29 | "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration |
| r250232 | r250233 | |
| 48 | 56 | "/wd4127", -- warning C4127: conditional expression is constant |
| 49 | 57 | "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data |
| 50 | 58 | } |
| 51 | | |
| 59 | if _OPTIONS["vs"]=="intel-15" then |
| 60 | buildoptions { |
| 61 | "/Qwd111", -- remark #111: statement is unreachable |
| 62 | "/Qwd280", -- remark #280: selector expression is constant |
| 63 | } |
| 64 | end |
| 52 | 65 | configuration "Debug" |
| 53 | 66 | defines { |
| 54 | 67 | "verbose=-1", |
| r250232 | r250233 | |
| 98 | 111 | includedirs { |
| 99 | 112 | MAME_DIR .. "src/osd", |
| 100 | 113 | } |
| 101 | | |
| 114 | if _OPTIONS["vs"]=="intel-15" then |
| 115 | buildoptions { |
| 116 | "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands |
| 117 | } |
| 118 | end |
| 102 | 119 | files { |
| 103 | 120 | MAME_DIR .. "3rdparty/softfloat/softfloat.c", |
| 104 | 121 | MAME_DIR .. "3rdparty/softfloat/fsincos.c", |
| r250232 | r250233 | |
| 120 | 137 | "/wd4127", -- warning C4127: conditional expression is constant |
| 121 | 138 | "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data |
| 122 | 139 | } |
| 140 | if _OPTIONS["vs"]=="intel-15" then |
| 141 | buildoptions { |
| 142 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 143 | } |
| 144 | end |
| 123 | 145 | |
| 124 | 146 | configuration { } |
| 125 | 147 | |
| r250232 | r250233 | |
| 193 | 215 | "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter |
| 194 | 216 | "/wd4702", -- warning C4702: unreachable code |
| 195 | 217 | } |
| 218 | if _OPTIONS["vs"]=="intel-15" then |
| 219 | buildoptions { |
| 220 | "/Qwd111", -- remark #111: statement is unreachable |
| 221 | "/Qwd177", -- remark #177: function "xxx" was declared but never referenced |
| 222 | "/Qwd181", -- remark #181: argument of type "UINT32={unsigned int}" is incompatible with format "%d", expecting argument of type "int" |
| 223 | "/Qwd188", -- error #188: enumerated type mixed with another type |
| 224 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 225 | } |
| 226 | end |
| 196 | 227 | |
| 197 | 228 | configuration { "vs2015" } |
| 198 | 229 | buildoptions { |
| r250232 | r250233 | |
| 261 | 292 | buildoptions { |
| 262 | 293 | "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter |
| 263 | 294 | } |
| 295 | if _OPTIONS["vs"]=="intel-15" then |
| 296 | buildoptions { |
| 297 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 298 | } |
| 299 | end |
| 264 | 300 | configuration { "vs2015" } |
| 265 | 301 | buildoptions { |
| 266 | 302 | "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration |
| r250232 | r250233 | |
| 318 | 354 | "/wd4702", -- warning C4702: unreachable code |
| 319 | 355 | "/wd4310", -- warning C4310: cast truncates constant value |
| 320 | 356 | } |
| 321 | | |
| 357 | if _OPTIONS["vs"]=="intel-15" then |
| 358 | buildoptions { |
| 359 | "/Qwd592", -- error #592: variable "xxx" is used before its value is set |
| 360 | } |
| 361 | end |
| 322 | 362 | configuration { } |
| 323 | 363 | defines { |
| 324 | 364 | "LUA_COMPAT_ALL", |
| r250232 | r250233 | |
| 459 | 499 | "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter |
| 460 | 500 | "/wd4706", -- warning C4706: assignment within conditional expression |
| 461 | 501 | } |
| 502 | if _OPTIONS["vs"]=="intel-15" then |
| 503 | buildoptions { |
| 504 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 505 | "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands |
| 506 | } |
| 507 | end |
| 462 | 508 | |
| 463 | 509 | configuration { "vs2015" } |
| 464 | 510 | buildoptions { |
| r250232 | r250233 | |
| 513 | 559 | "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data |
| 514 | 560 | "/wd4706", -- warning C4706: assignment within conditional expression |
| 515 | 561 | } |
| 562 | if _OPTIONS["vs"]=="intel-15" then |
| 563 | buildoptions { |
| 564 | "/Qwd188", -- error #188: enumerated type mixed with another type |
| 565 | "/Qwd344", -- remark #344: typedef name has already been declared (with same type) |
| 566 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 567 | "/Qwd2557", -- remark #2557: comparison between signed and unsigned operands |
| 568 | } |
| 569 | end |
| 516 | 570 | |
| 517 | 571 | configuration { "vs2015" } |
| 518 | 572 | buildoptions { |
| r250232 | r250233 | |
| 587 | 641 | "/wd4611", -- warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable |
| 588 | 642 | "/wd4310", -- warning C4310: cast truncates constant value |
| 589 | 643 | } |
| 590 | | |
| 644 | if _OPTIONS["vs"]=="intel-15" then |
| 645 | buildoptions { |
| 646 | "/Qwd906", -- message #906: effect of this "#pragma pack" directive is local to function "xxx" |
| 647 | "/Qwd1879", -- warning #1879: unimplemented pragma ignored |
| 648 | "/Qwd82", -- remark #82: storage class is not first |
| 649 | } |
| 650 | end |
| 591 | 651 | configuration { } |
| 592 | 652 | |
| 593 | 653 | includedirs { |
| r250232 | r250233 | |
| 706 | 766 | "/wd4189", -- warning C4189: 'xxx' : local variable is initialized but not referenced |
| 707 | 767 | "/wd4127", -- warning C4127: conditional expression is constant |
| 708 | 768 | } |
| 709 | | |
| 769 | if _OPTIONS["vs"]=="intel-15" then |
| 770 | buildoptions { |
| 771 | "/Qwd869", -- remark #869: parameter "xxx" was never referenced |
| 772 | "/Qwd1478", -- warning #1478: function "xxx" (declared at line yyy of "zzz") was declared deprecated |
| 773 | "/Qwd2544", -- message #2544: empty dependent statement in if-statement |
| 774 | "/Qwd1879", -- warning #1879: unimplemented pragma ignored |
| 775 | } |
| 776 | end |
| 710 | 777 | configuration { "vs2015" } |
| 711 | 778 | buildoptions { |
| 712 | 779 | "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration |
| r250232 | r250233 | |
| 848 | 915 | "-Wno-unused-variable", |
| 849 | 916 | } |
| 850 | 917 | |
| 918 | configuration { "vs*" } |
| 919 | if _OPTIONS["vs"]=="intel-15" then |
| 920 | buildoptions { |
| 921 | "/Qwd1195", -- error #1195: conversion from integer to smaller pointer |
| 922 | } |
| 923 | end |
| 924 | |
| 851 | 925 | configuration { } |
| 852 | 926 | |
| 853 | 927 | includedirs { |