Lower default -Wtrunction= level to 1

This commit is contained in:
Rangi42
2025-10-13 11:48:33 -04:00
parent aa672bbec9
commit 64bcef99bd
6 changed files with 7 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ MACRO try
ENDM
try Wno-truncation
try Wtruncation
try Wtruncation ; defaults to 1
try Wtruncation=0
try Wtruncation=1
try Wtruncation=2

View File

@@ -6,14 +6,6 @@ warning: Expression must be 16-bit [-Wtruncation]
at warn-truncation.asm::try(25) <- warn-truncation.asm(35)
warning: Expression must be 16-bit [-Wtruncation]
at warn-truncation.asm::try(26) <- warn-truncation.asm(35)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]
at warn-truncation.asm::try(28) <- warn-truncation.asm(35)
warning: Expression must be 16-bit [-Wtruncation]
at warn-truncation.asm::try(29) <- warn-truncation.asm(35)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]
at warn-truncation.asm::try(30) <- warn-truncation.asm(35)
warning: Expression must be 16-bit [-Wtruncation]
at warn-truncation.asm::try(31) <- warn-truncation.asm(35)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]
at warn-truncation.asm::try(23) <- warn-truncation.asm(37)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]