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

compile-time printf-warnings #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

compile-time printf-warnings #1

wants to merge 1 commit into from

Conversation

Findus23
Copy link
Member

@Findus23 Findus23 commented Apr 25, 2024

Transferring https://bitbucket.org/ohahn/monofonic/pull-requests/38 over to Github

This makes sure that arguments to Print() are handled the same way as arguments to printf and cause compiler-warnings if the format-strings are incorrect.

I have not tested if this fails in older versions of GCC and Clang (or other C++ compilers)

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

1 participant