mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 06:47:48 +00:00
Deprecate __FILE__ and __LINE__ (#1072)
Unlike C, these constants are not convenient for logging in macros, since they always report the same data (their location in the macro). Fixes #1068
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
warning: preinclude.asm(0) -> preinclude.inc(1): [-Wuser]
|
||||
pre-include "preinclude.inc"
|
||||
pre-included file
|
||||
warning: preinclude.asm(1): [-Wuser]
|
||||
main "preinclude.asm"
|
||||
main file
|
||||
|
||||
Reference in New Issue
Block a user