Am 13.04.22 um 09:02 schrieb Philipp Klaus Krause:
Am 13.04.22 um 03:18 schrieb David Tulloh via Sdcc-user:
I noticed this in the documentation,
http://sdcc.sourceforge.net/doc/sdccman.pdf
4.6.9 Known Bugs
4.6.9.1 Function arguments
Functions with variable argument lists (like printf) are not yet
supported.
However vsprintf seems to be provided and used in the code base, the
changelog includes a number of notes around those functions.
AFAIK, that section 4.6.9 has been outdated for more than 20 years. I'll
remove it later this week (unless someone else does so first). The only
currently known bugs are the one on the bug tracker at SourceForge.
Sorry for the confusion here. That section is a subsection of 4.6, "The
PIC14 port", and probably still applies.
AFAIR SDCC has been supporting variable arguments since before I joined
the project about 20 years ago, for all targets except pic14 (though I'm
not sure about pic16 - the pic ports are unmaintained anyway, and there
are other problems in them).
Philipp
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user