-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Clang warning: deprecated sprintf usage in json_reader (Version: 1.11) #4569
Comments
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Jun 12, 2023
Instead of sprintf use the suggested snprintf function
ckeshava
changed the title
[Clang warning: deprecated sprintf usage in json_reader] (Version: 1.11)
Clang warning: deprecated sprintf usage in json_reader (Version: 1.11)
Jun 12, 2023
7 tasks
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Jul 3, 2023
Instead of sprintf use the suggested snprintf function
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Jul 3, 2023
Instead of sprintf use the suggested snprintf function
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Jul 10, 2023
Instead of sprintf use the suggested snprintf function
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Sep 22, 2023
Instead of sprintf use the suggested snprintf function
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Oct 4, 2023
7 tasks
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Oct 4, 2023
intelliot
pushed a commit
that referenced
this issue
Jan 16, 2024
Resolves a warning that was emitted from the clang compiler. Switches usage of the sprintf function to the recommended snprintf function. Warning was observed in Apple clang version 15.0.0 (clang-1500.0.40.1). Fix #4569
sophiax851
pushed a commit
to sophiax851/rippled
that referenced
this issue
Jun 12, 2024
Resolves a warning that was emitted from the clang compiler. Switches usage of the sprintf function to the recommended snprintf function. Warning was observed in Apple clang version 15.0.0 (clang-1500.0.40.1). Fix XRPLF#4569
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
Clang compiler throws the following warning regarding the usage of
sprintf
function.Steps to Reproduce
Compiling the latest version of
rippled
codebase throws this warning.Environment
Here is the version details of the clang compiler:
I'm not sure if this warning is benign and could be ignored. Putting it out here for reference.
The text was updated successfully, but these errors were encountered: