I have created a feature request:
https://sourceforge.net/p/sdcc/feature-requests/756/
Included there is a test program to demonstrate the issue.
If I have time, and I can get my SDCC build environment going again, I
may try to fix it myself and submit a patch.
Regards,
Basil Hussain
On 11/11/2021 22:27, Philipp Klaus Krause wrote:
While the stanard gives us plenty of freedom here, personally, I think
%p output should be close to what one would get when printing a suitable
unsigned integer type for a pointer cast to uintptr_t. Feel free to open
a feature request (or patch, if you have one) ticket.
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user