mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
Improve error message for align failure (#1721)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
error: fragment-align.asm(25):
|
||||
Section's alignment fails required alignment (offset from section start = $0004)
|
||||
Section is misaligned ($0004 bytes into the section, expected ALIGN[2, 0], got ALIGN[2, 1])
|
||||
error: Assembly aborted (1 error)!
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
error: invalid-alignment.asm(9):
|
||||
Section's fixed address fails required alignment (PC = $4000)
|
||||
Section is misaligned (at PC = $4000, expected ALIGN[16, 0], got ALIGN[16, 16384])
|
||||
error: invalid-alignment.asm(11):
|
||||
Alignment must be between 0 and 16, not 20
|
||||
error: invalid-alignment.asm(13):
|
||||
|
||||
Reference in New Issue
Block a user