mirror of
https://github.com/gbdev/rgbds.git
synced 2026-06-10 02:32:34 +00:00
Refactor section creation errors, and simplify output for single errors (#1964)
This commit is contained in:
@@ -4,7 +4,5 @@ FATAL: Section "conflicting alignment" is defined with 4-byte alignment (offset
|
||||
at section-fragment/align-conflict.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared as aligned to 4 bytes (offset 0)
|
||||
at <stdin>(18)
|
||||
FATAL: Cannot create section "conflicting alignment" (1 error)
|
||||
FATAL: Section "conflicting alignment" already declared as aligned to 4 bytes (offset 0)
|
||||
at <stdin>(18)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting alignment" is defined with 4-byte alignment (offset
|
||||
at section-union/align-conflict.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared as aligned to 4 bytes (offset 0)
|
||||
at <stdin>(18)
|
||||
FATAL: Cannot create section "conflicting alignment" (1 error)
|
||||
FATAL: Section "conflicting alignment" already declared as aligned to 4 bytes (offset 0)
|
||||
at <stdin>(18)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting alignment" is defined with 8-byte alignment (offset
|
||||
at section-union/align-ofs-conflict.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared with incompatible 8-byte alignment (offset 7)
|
||||
at <stdin>(18)
|
||||
FATAL: Cannot create section "conflicting alignment" (1 error)
|
||||
FATAL: Section "conflicting alignment" already declared with incompatible 8-byte alignment (offset 7)
|
||||
at <stdin>(18)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting types" is defined with type `HRAM`, but also with ty
|
||||
at section-union/bad-types.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already exists but with type `HRAM`
|
||||
at <stdin>(18)
|
||||
FATAL: Cannot create section "conflicting types" (1 error)
|
||||
FATAL: Section "conflicting types" already exists but with type `HRAM`
|
||||
at <stdin>(18)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting banks" is defined with bank 4, but also with bank 1
|
||||
at section-union/bank-conflict.asm(5)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared with different bank 4
|
||||
at <stdin>(14)
|
||||
FATAL: Cannot create section "conflicting banks" (1 error)
|
||||
FATAL: Section "conflicting banks" already declared with different bank 4
|
||||
at <stdin>(14)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting alignment" is defined with 8-byte alignment (offset
|
||||
at section-union/different-ofs.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared with incompatible 8-byte alignment (offset 7)
|
||||
at <stdin>(18)
|
||||
FATAL: Cannot create section "conflicting alignment" (1 error)
|
||||
FATAL: Section "conflicting alignment" already declared with incompatible 8-byte alignment (offset 7)
|
||||
at <stdin>(18)
|
||||
|
||||
@@ -4,7 +4,5 @@ FATAL: Section "conflicting address" is defined with address $beef, but also wit
|
||||
at section-union/org-conflict.asm(7)
|
||||
Linking aborted with 1 error
|
||||
---
|
||||
error: Section already declared as fixed at different address $beef
|
||||
at <stdin>(16)
|
||||
FATAL: Cannot create section "conflicting address" (1 error)
|
||||
FATAL: Section "conflicting address" already declared as fixed at different address $beef
|
||||
at <stdin>(16)
|
||||
|
||||
Reference in New Issue
Block a user