Philipp Klaus Krause schreef op 2022-07-15 22:22:
Are these two still in use by anyone? The enable a nonstandard
behavior in the preprocessor wrt. parsing of "numbers" (apparently
with the option / pragma, the preprocessor ignores what the standard
says about "preprocessing-numbers" and instead tried to handle them
more like later stages, which mostly makes a difference for stuff that
looks like a floating-point constant, but isn't).
If there are no users, I suggest to drop the option and pragma,
instead of trying to port it to a new preoprocessor.
Philipp
P.S.: In other words, -pedantic-parse-numbers makes our current
preprocessor bug-compatible with the Watcom C preproessor wrt. to
parsing numbers.
I've never used them.
If they get removed, maybe we should document somewhere how this
affects the user and what is a proper way to solve the problem this
option is trying to solve.
Maarten
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user