-Wall enables -Wcharmap-redef, and document -Wnested-comment (#1528)

This commit is contained in:
Sylvie
2024-09-30 14:34:58 -04:00
committed by GitHub
parent c7a029a051
commit d5159f66be
4 changed files with 11 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ warning: multiple-charmaps.asm(46) -> multiple-charmaps.asm::print_mapped(34): [
Treating multi-unit strings as numbers is deprecated
warning: multiple-charmaps.asm(54) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]
Treating multi-unit strings as numbers is deprecated
warning: multiple-charmaps.asm(64): [-Wcharmap-redef]
Overriding charmap mapping
warning: multiple-charmaps.asm(73) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]
Treating multi-unit strings as numbers is deprecated
warning: multiple-charmaps.asm(95) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]

View File

@@ -1,5 +1,6 @@
; Triggering a charmap realloc while the charmap has been pushed onto the stack used
; to induce a use-after-free.
opt Wno-charmap-redef
pushc
charmap "000000000000000000000000000000000",12
popc