mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-11 12:21:42 +00:00
Deprecate __DATE__ and __TIME__ (#1786)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
; these have unpredictable values depending on the locale
|
||||
assert STRLEN(__DATE__)
|
||||
assert STRLEN(__TIME__)
|
||||
@@ -0,0 +1,4 @@
|
||||
warning: date-time.asm(2): [-Wobsolete]
|
||||
`__DATE__` is deprecated; use `__ISO_8601_LOCAL__`
|
||||
warning: date-time.asm(3): [-Wobsolete]
|
||||
`__TIME__` is deprecated; use `__ISO_8601_LOCAL__`
|
||||
Reference in New Issue
Block a user