File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,13 @@ This warning is enabled by
291
291
Warn when shifting macro arguments past their limits.
292
292
This warning is enabled by
293
293
.Fl Wextra .
294
+ .It Fl Wno-nested-comment
295
+ Warn when the block comment start sequence
296
+ .Ql /*
297
+ is found inside of a block comment.
298
+ Block comments cannot be nested, so an "inner"
299
+ .Ql */
300
+ is likely to have ended the whole comment.
294
301
.It Fl Wno-obsolete
295
302
Warn when obsolete constructs such as the
296
303
.Ic _PI
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ static uint8_t const _wextraCommands[] = {
191
191
static uint8_t const _weverythingCommands[] = {
192
192
WARNING_BACKWARDS_FOR,
193
193
WARNING_BUILTIN_ARG,
194
+ WARNING_CHARMAP_REDEF,
194
195
WARNING_DIV,
195
196
WARNING_EMPTY_DATA_DIRECTIVE,
196
197
WARNING_EMPTY_MACRO_ARG,
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ warning: multiple-charmaps.asm(46) -> multiple-charmaps.asm::print_mapped(34): [
2
2
Treating multi-unit strings as numbers is deprecated
3
3
warning: multiple-charmaps.asm(54) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]
4
4
Treating multi-unit strings as numbers is deprecated
5
+ warning: multiple-charmaps.asm(64): [-Wcharmap-redef]
6
+ Overriding charmap mapping
5
7
warning: multiple-charmaps.asm(73) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]
6
8
Treating multi-unit strings as numbers is deprecated
7
9
warning: multiple-charmaps.asm(95) -> multiple-charmaps.asm::print_mapped(34): [-Wobsolete]
Original file line number Diff line number Diff line change 1
1
; Triggering a charmap realloc while the charmap has been pushed onto the stack used
2
2
; to induce a use-after-free.
3
+ opt Wno - charmap - redef
3
4
pushc
4
5
charmap "000000000000000000000000000000000" , 12
5
6
popc
You can’t perform that action at this time.
0 commit comments