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

Warnings in GMock when compiling with -std=c++98 #291

Closed
vitaut opened this issue Mar 9, 2016 · 1 comment
Closed

Warnings in GMock when compiling with -std=c++98 #291

vitaut opened this issue Mar 9, 2016 · 1 comment

Comments

@vitaut
Copy link
Contributor

vitaut commented Mar 9, 2016

https://travis-ci.org/cppformat/cppformat/jobs/114823247:

cppformat/test/gmock/gmock.h:1021:52: warning: invoking macro GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
In file included from cppformat/test/format-impl-test.cc:37:0:
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4393:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
cppformat/test/gmock/gmock.h:4475:1: warning: invoking macro GTEST_CONCAT_TOKEN_IMPL_ argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98 [enabled by default]
...
@vitaut
Copy link
Contributor Author

vitaut commented Mar 18, 2016

Fixed in 0c901ef.

@vitaut vitaut closed this as completed Mar 18, 2016
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

No branches or pull requests

1 participant