It would be nice if SDCC would define a macro that
identifies its version. I guess the macro SDCC can be
used for it. Right now it's defined with -DSDCC=1,
maybe we should change that to -DSDCC=254.
Logged In: YES
Implemented in SDCC 2.5.5 #1236.
Logged In: NO
One step further in that direction: would it make sense to
define SDCC_VERSION_CVS which as of today would hold 1236?
I considered that but thought it was overkill. I don't want
to add it just because I can. There wasn't even a request
for this feature before I posted it myself.