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

Silence warnings from glog library. #30

Closed
end2endzone opened this issue Jun 12, 2019 · 0 comments
Closed

Silence warnings from glog library. #30

end2endzone opened this issue Jun 12, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@end2endzone
Copy link
Owner

Each time we include #include <glog/logging.h>, we get the following warning message:

glog\install_dir\include\glog/logging.h(1167): warning C4355: 'this' : used in base member initializer list

Each glog include statements should be wrapped with a proper #pragma directive to silence the warning. ie:

 #pragma warning( push )
 #pragma warning( disable: ThatWarning )
 //code with ThatWarning here
 #pragma warning( pop )
@end2endzone end2endzone added the enhancement New feature or request label Jun 12, 2019
end2endzone added a commit that referenced this issue Jun 12, 2019
Fixed warning 4018 - googletest\install\include\gtest/gtest.h(1528): warning C4018: '>=' : signed/unsigned mismatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant