File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
scripts/git/patches/boringssl Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if(TARGET boringssl OR NOT DOWNLOAD_BORINGSSL)
19
19
endif ()
20
20
21
21
set (patch_file
22
- ${CMAKE_CURRENT_LIST_DIR} /../../scripts/git/patches/boringssl/0001-disable-C4255-converting-empty-params-to-void .patch )
22
+ ${CMAKE_CURRENT_LIST_DIR} /../../scripts/git/patches/boringssl/0001-disable-warnings .patch )
23
23
24
24
set (boringssl_commit_tag 83da28a68f32023fd3b95a8ae94991a07b1f6c62 )
25
25
Original file line number Diff line number Diff line change 1
- From 831806231dd360278dac2a37e3c3158420ad7bb3 Mon Sep 17 00:00:00 2001
2
- From: "google.com" <google.com>
3
- Date: Mon, 7 Jun 2021 13:57:27 -0400
4
- Subject: [PATCH] disable C4255 converting () to (void)
5
-
6
- ---
7
- src/CMakeLists.txt | 2 ++
8
- 1 file changed, 2 insertions(+)
9
-
10
- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
11
- index b7f468fe6..48f61bfd8 100644
12
1
--- a/src/CMakeLists.txt
13
2
+++ b/src/CMakeLists.txt
14
- @@ -193,6 +193,8 @@ elseif(MSVC)
3
+ @@ -193,6 +193,10 @@ elseif(MSVC)
15
4
# possible loss of data
16
5
"C4244" # 'function' : conversion from 'int' to 'uint8_t',
17
6
# possible loss of data
18
7
+ "C4255" # 'function' : no function prototype given: converting '()' to
19
8
+ # '(void)'
9
+ + "C4191" # 'operator/operation' : unsafe conversion from 'type of
10
+ + # expression' to 'type required'
20
11
"C4267" # conversion from 'size_t' to 'int', possible loss of data
21
12
"C4371" # layout of class may have changed from a previous version of the
22
13
# compiler due to better packing of member '...'
23
- - -
24
- 2.32.0.rc1.229.g3e70b5a671-goog
25
-
You can’t perform that action at this time.
0 commit comments