-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constraint handler trips on %Lf
for printf_s
#103
Labels
Comments
Th3T3chn0G1t
changed the title
Constraint handler trips on %Lf for
Constraint handler trips on Nov 24, 2021
printf_s
%Lf
for printf_s
Thanks. I forgot to test all the new cases. This is the new implementation, right? |
Its trunk so I presume so? I have this submoduled so I try to keep it at latest |
Good, that's what I thought. I have now a complete new printf Implementation, which misses a lot of test cases, and obviously many %L formats. I just added %Ls and %Lc, the others are also missing, as you found out. |
rurban
added a commit
that referenced
this issue
Nov 26, 2021
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Nov 26, 2021
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Feb 23, 2023
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Feb 23, 2023
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Feb 23, 2023
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Feb 23, 2023
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Mar 8, 2024
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Mar 8, 2024
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Dec 26, 2024
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Dec 26, 2024
%L with efg (precisions not yet checked) LONG_DOUBLE
rurban
added a commit
that referenced
this issue
Dec 26, 2024
%L with efg (precisions not yet checked) LONG_DOUBLE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour:
%Lf
acts as a format specifier forlong double
Actual Behaviour: A constraint handler is tripped
Example:
The following:
Trips a constraint handler for
printf_s: illegal %L format-specifier
.The same goes for all format specifiers allowing the
L
prefix -fF eE aA gG
I can work around not having
long double
but it does feel like this was just missed? It is a bit of a weird one in fairness.It is listed on cppreference on the leftmost part of the
printf
-family format specifier table here: https://en.cppreference.com/w/c/io/fprintf but it's possible this is erroneous?Thanks!
The text was updated successfully, but these errors were encountered: