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

Fix logging related warnings #19

Merged
merged 2 commits into from
Oct 2, 2021
Merged

Conversation

RareBreeds
Copy link
Contributor

Removed the first "" from the SQINFO arguments. A new __FUNCTION__ argument was added to the Rack2 logger, adding the "" to the Squinky logger caused the number of arguments to match, so it compiled and passed "" as the function name, but the correct fix I think is to update the SQINFO macro so that __FUNCTION__ is passed.

Fixed all logging related warnings on Ubuntu and Windows.

The only warning I see now is the following, which is in the Rack v2 code base:

../../include/engine/Module.hpp:216:21: warning: unused variable ‘br’ [-Wunused-variable]

@kockie69 kockie69 merged commit d9294b6 into kockie69:master Oct 2, 2021
@kockie69
Copy link
Owner

kockie69 commented Oct 2, 2021

Thank you, I know my fix was a dirty one, but needed it back as one of the modules was using it to display messages. Wanted to pick up later, but thanks again!

@RareBreeds RareBreeds deleted the info-warning branch October 4, 2021 15:47
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