Philipp Klaus Krause schreef op 2022-06-18 14:11:
Am 17.06.22 um 20:55 schrieb Sergey Belyashov:
Imho, it is better to break the use of __at <num> in favor of
__at(<num>).
While that might be a clenaer solution, and was my first intuition, I
think that this would break too much existing user code (and more
importantly, third-party code that users haven't written themselves,
such as device-specific headers). Even if we do want to go that way,
we IMO should first deprecate the non-parenthesized version, emit a
warning in one release, then remove it in a following release.
Philipp
If it is possible to keep the old behavior and generate a deprecation
warning, then that is the best way forward. But if this prohibits
other progressions then I do not mind breaking it.
Btw, it seems __interrupt <n> is already illegal judging from building
the ds390 & ds400 libraries. I intend to commit fixed tinibios.c files
later today.
Maarten
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user