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

Build error for Android : -Wunused-local-typedefs #290

Open
sam0302 opened this issue Nov 11, 2016 · 0 comments
Open

Build error for Android : -Wunused-local-typedefs #290

sam0302 opened this issue Nov 11, 2016 · 0 comments

Comments

@sam0302
Copy link

sam0302 commented Nov 11, 2016

Hello,

I am getting below error when building for Android:

Scanning dependencies of target cpprest
[ 1%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o
In file included from /home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/src/http/client/http_client_msg.cpp:25:
/home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/src/pch/stdafx.h:30:34: error: unknown warning group '-Wunused-local-typedefs', ignored [-Werror,-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wunused-local-typedefs"
^
In file included from /home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/src/http/client/http_client_msg.cpp:25:
In file included from /home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/src/pch/stdafx.h:34:
In file included from /home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/include/cpprest/details/basic_types.h:41:
/home/spatnaik/sambit/DIP/CommunicationManager/ext/CppRestSDK/casablanca/Release/include/cpprest/details/SafeInt3.hpp:125:34: error: unknown warning group '-Wunused-local-typedef', ignored [-Werror,-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wunused-local-typedef"
^
2 errors generated.
make[2]: *** [src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/cpprest.dir/all] Error 2
make: *** [all] Error 2

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