Skip to content
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

Newer version of GCC complain about usage of printf(string-or-var) without … #2586

Merged
merged 1 commit into from Dec 1, 2022

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Dec 1, 2022

…thout formatting arguments.

Example:

error: format not a string literal and no format arguments [-Werror=format-security]
  320 |         printf("Error: Invalid base64\n"); TTY_FLUSH();

This PR fixes the compilation issues.

…thout formatting arguments.

Example:
```
error: format not a string literal and no format arguments [-Werror=format-security]
  320 |         printf("Error: Invalid base64\n"); TTY_FLUSH();
```

This PR fixes the compilation issues.
@slaff slaff added this to the 4.7.0 milestone Dec 1, 2022
@slaff
Copy link
Contributor Author

slaff commented Dec 1, 2022

Tested and working on Esp8266 and Host archs.

@slaff slaff removed the 3 - Review label Dec 1, 2022
@slaff slaff merged commit 2552a4c into SmingHub:develop Dec 1, 2022
@slaff slaff mentioned this pull request Dec 6, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants