-
Notifications
You must be signed in to change notification settings - Fork 32
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
error: expected constructor, destructor, or type conversion before ‘(’ token #16
Comments
@Adharshcs
|
It said you don't hav authorisation to do git clone |
So i cloned using the URL link and did all the following steps and when i did make && make install...it was giving the previous error |
Please check your environment, such as compiler, google test, etc. |
rootuser@rootuser-Standard-PC-Q35-ICH9-2009:~$ git clone git@github.com:ar90n/msgpack11.git Please make sure you have the correct access rights |
i tried doing the steps but it results in the same error Scanning dependencies of target msgpack11 |
/home/rootuser/msgpack11/test/basic.cpp:154:19: error: expected constructor, destructor, or type conversion before ‘(’ token
TYPED_TEST_SUITE_P(IntegerToFloatingPointTest);
^
In file included from /usr/include/gtest/gtest.h:66:0,
from /home/rootuser/msgpack11/test/basic.cpp:15:
/home/rootuser/msgpack11/test/basic.cpp:156:1: error: ‘gtest_typed_test_case_p_state_IntegerToFloatingPointTest_’ was not declared in this scope
TYPED_TEST_P(IntegerToFloatingPointTest, simple_buffer)
^
/home/rootuser/msgpack11/test/basic.cpp:178:28: error: expected constructor, destructor, or type conversion before ‘(’ token
REGISTER_TYPED_TEST_SUITE_P(IntegerToFloatingPointTest,
^
/home/rootuser/msgpack11/test/basic.cpp:185:31: error: expected constructor, destructor, or type conversion before ‘(’ token
INSTANTIATE_TYPED_TEST_SUITE_P(IntegerToFloatingPointTestInstance,
^
test/CMakeFiles/basic.dir/build.make:62: recipe for target 'test/CMakeFiles/basic.dir/basic.cpp.o' failed
make[2]: *** [test/CMakeFiles/basic.dir/basic.cpp.o] Error 1
CMakeFiles/Makefile2:169: recipe for target 'test/CMakeFiles/basic.dir/all' failed
make[1]: *** [test/CMakeFiles/basic.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
I am getting this error when am doing make install. can you help me out
The text was updated successfully, but these errors were encountered: