Are you (Dirk) going to create a github PR so that new test case is run through CI?
Have you investigated portability? Is '%i' mentioned in the C89 spec.?
A quick search finds that '%i' is documented by MS [1]. And [2] claims it is "... supported by the latest C and C++ standards (both published in 2011) ...". So this looks fine going forward.
I hadn't known about '%i' with scanf().
Are you (Dirk) going to create a github PR so that new test case is run through CI?
Have you investigated portability? Is '%i' mentioned in the C89 spec.?
A quick search finds that '%i' is documented by MS [1]. And [2] claims it is "... supported by the latest C and C++ standards (both published in 2011) ...". So this looks fine going forward.
[1] https:/ /docs.microsoft .com/en- us/cpp/ c-runtime- library/ scanf-type- field-character s?view= msvc-170 /www.cplusplus. com/reference/ cstdio/ scanf/? kw=scanf
[2] https:/