File tree Expand file tree Collapse file tree 8 files changed +33
-27
lines changed Expand file tree Collapse file tree 8 files changed +33
-27
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,6 @@ project "cryptopp"
218218 " cpuid64.asm"
219219 }
220220
221- filter { " system:windows" }
221+ filter " system:windows"
222222 linkoptions { " /ignore:4221" }
223223 disablewarnings { " 4005" }
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ project "json-c"
22 language " C++"
33 kind " StaticLib"
44 targetname " json-c"
5- disablewarnings {
6- " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
7- " 4018" , -- warning C4018: '<': signed/unsigned mismatch
8- " 4996" , -- use of symbol with __declspec(deprecated)
9- }
105
116 includedirs { " ." }
127 defines { " _LIB" }
@@ -23,6 +18,13 @@ project "json-c"
2318 " *.c"
2419 }
2520
21+ filter " system:windows"
22+ disablewarnings {
23+ " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
24+ " 4018" , -- warning C4018: '<': signed/unsigned mismatch
25+ " 4996" , -- use of symbol with __declspec(deprecated)
26+ }
27+
2628 filter " system:macosx"
2729 defines {" HAVE_XLOCALE_H" }
2830
Original file line number Diff line number Diff line change @@ -3,12 +3,6 @@ project "libspeex"
33 kind " StaticLib"
44 targetname " libspeex"
55
6- disablewarnings {
7- " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
8- " 4305" , -- warning C4305: 'initializing': truncation from '?' to '?'
9- " 4018" , -- warning C4018: '<': signed/unsigned mismatch
10- }
11-
126 defines {
137 " HAVE_CONFIG_H"
148 }
@@ -41,6 +35,13 @@ project "libspeex"
4135 " libspeexdsp/fftwrap.c" ,
4236 }
4337
38+ filter " system:windows"
39+ disablewarnings {
40+ " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
41+ " 4305" , -- warning C4305: 'initializing': truncation from '?' to '?'
42+ " 4018" , -- warning C4018: '<': signed/unsigned mismatch
43+ }
44+
4445 filter " architecture:not x86"
4546 flags { " ExcludeFromBuild" }
4647
Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ project "lunasvg"
77 floatingpoint " Fast"
88 rtti " Off"
99
10- disablewarnings {
11- " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
12- " 4018" , -- warning C4018: '<': signed/unsigned mismatch
13- }
14-
1510 defines {
1611 " PLUTOVG_BUILD" ,
1712 " LUNASVG_BUILD" ,
@@ -42,7 +37,14 @@ project "lunasvg"
4237 " include"
4338 }
4439
40+ filter " system:windows"
41+ disablewarnings {
42+ " 4244" , -- warning C4244: '=': conversion from '?' to '?', possible loss of data
43+ " 4018" , -- warning C4018: '<': signed/unsigned mismatch
44+ }
45+
4546 filter " architecture:not x86"
4647 flags { " ExcludeFromBuild" }
48+
4749 filter " system:not windows"
4850 flags { " ExcludeFromBuild" }
Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ project "pcre"
4040 defines { " HAVE_STRTOLL" }
4141 kind " StaticLib"
4242
43- filter { " system:windows" }
43+ filter " system:windows"
4444 linkoptions { " /ignore:4217" , " /ignore:4049" }
4545 disablewarnings { " 4251" }
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ project "portaudio"
33 kind " StaticLib"
44 targetname " portaudio"
55
6- disablewarnings { " 4996" }
7-
86 vpaths {
97 [" Headers/*" ] = " **.h" ,
108 [" Sources/*" ] = " **.c" ,
@@ -17,8 +15,11 @@ project "portaudio"
1715 " *.c"
1816 }
1917
18+ filter " system:windows"
19+ disablewarnings { " 4996" }
20+
2021 filter " architecture:not x86"
2122 flags { " ExcludeFromBuild" }
2223
2324 filter " system:not windows"
24- flags { " ExcludeFromBuild" }
25+ flags { " ExcludeFromBuild" }
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ project "sqlite"
1717
1818 defines { " SQLITE_ENABLE_MATH_FUNCTIONS" , " SQLITE_ENABLE_JSON1" }
1919
20- filter { " system:windows" }
20+ filter " system:windows"
2121 disablewarnings { " 4996" }
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ project "unrar"
22 language " C++"
33 kind " StaticLib"
44 targetname " unrar"
5- disablewarnings {
6- " 4996" , -- use of symbol with __declspec(deprecated)
7- }
85
96 defines { " RARDLL" }
107
@@ -70,5 +67,8 @@ project "unrar"
7067 " ui.cpp"
7168 }
7269
73- filter " system:Windows*"
74- files { " isnt.cpp" }
70+ filter " system:windows"
71+ files { " isnt.cpp" }
72+ disablewarnings {
73+ " 4996" , -- use of symbol with __declspec(deprecated)
74+ }
You can’t perform that action at this time.
0 commit comments