File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ See docs/process.md for more on how version tagging works.
20
20
21
21
3.1.71 (in development)
22
22
-----------------------
23
+ - LLVM's ` -Wnontrivial-memaccess ` warning has been updated to also warn about
24
+ passing non-trivially-copyable destrination parameter to ` memcpy ` ,
25
+ ` memset ` and similar functions for which it is a documented undefined
26
+ behavior (#22798 ). See https://github.com/llvm/llvm-project/pull/111434
23
27
24
28
3.1.70 - 10/25/24
25
29
-----------------
Original file line number Diff line number Diff line change @@ -6795,6 +6795,7 @@ def test_bullet(self, use_cmake):
6795
6795
'-Wno-format' ,
6796
6796
'-Wno-bitfield-constant-conversion' ,
6797
6797
'-Wno-int-to-void-pointer-cast' ,
6798
+ '-Wno-nontrivial-memaccess' ,
6798
6799
]
6799
6800
6800
6801
# extra testing for ASSERTIONS == 2
@@ -6818,7 +6819,7 @@ def test_bullet(self, use_cmake):
6818
6819
@is_slow_test
6819
6820
def test_poppler (self ):
6820
6821
# See https://github.com/emscripten-core/emscripten/issues/20757
6821
- self .emcc_args .append ( '-Wno-deprecated-declarations' )
6822
+ self .emcc_args .extend ([ '-Wno-deprecated-declarations' , '-Wno-nontrivial-memaccess' ] )
6822
6823
poppler = self .get_poppler_library ()
6823
6824
shutil .copy (test_file ('poppler/paper.pdf' ), '.' )
6824
6825
You can’t perform that action at this time.
0 commit comments