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 on OSX #12

Closed
jaddison opened this issue Nov 8, 2015 · 8 comments
Closed

Build error on OSX #12

jaddison opened this issue Nov 8, 2015 · 8 comments
Assignees
Labels

Comments

@jaddison
Copy link

jaddison commented Nov 8, 2015

I get a build error on OSX (El Capitan). Versions:

cmake-3.3.2 already installed
git-2.6.3 already installed
openssl-1.0.2d_1 already installed
boost-1.59.0 already installed
homebrew/dupes/libiconv-1.14 already installed

The build error:

jaddison@addi:~/projects/cpprestsdk/build.release (master)$ make -j 4
[  1%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/AssertException.cpp.o
[  2%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/CompositeTestReporter.cpp.o
[  2%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/CurrentTest.cpp.o
[  3%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/DeferredTestReporter.cpp.o
[  3%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/DeferredTestResult.cpp.o
[  4%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/GlobalSettings.cpp.o
[  4%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/MemoryOutStream.cpp.o
[  5%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/ReportAssert.cpp.o
[  6%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/Test.cpp.o
[  7%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o
[  7%] Building CXX object src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o
[  7%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestDetails.cpp.o
[  8%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o
[  9%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestList.cpp.o
[ 10%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestReporter.cpp.o
[ 10%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestReporterStdout.cpp.o
[ 11%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestResults.cpp.o
[ 11%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/TestRunner.cpp.o
[ 12%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/XmlTestReporter.cpp.o
[ 13%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/Posix/SignalTranslator.cpp.o
[ 13%] Building CXX object tests/common/UnitTestpp/CMakeFiles/unittestpp.dir/src/Posix/TimeHelpers.cpp.o
[ 14%] Linking CXX shared library ../../../Binaries/libunittestpp.dylib
[ 14%] Built target unittestpp
[ 14%] Building CXX object src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/http/client/http_client_msg.cpp:25:
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/pch/stdafx.h:29:
In file included from /Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/basic_types.h:42:
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2927:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2936:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2950:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2958:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2972:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2988:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3004:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3012:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3025:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3034:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3048:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3064:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3080:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3088:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3100:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3109:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3123:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3131:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3144:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 15%] Building CXX object tests/common/TestRunner/CMakeFiles/test_runner.dir/test_runner.cpp.o
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/http/client/x509_cert_utilities.cpp:26:
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/pch/stdafx.h:29:
In file included from /Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/basic_types.h:42:
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2927:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2936:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2950:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2958:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2972:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2988:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3004:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3012:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3025:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3034:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3048:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3064:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3080:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3088:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3100:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3109:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3123:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3131:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3144:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/cpprest.dir/http/client/x509_cert_utilities.cpp.o] Error 1
[ 15%] Building CXX object tests/common/TestRunner/CMakeFiles/test_runner.dir/test_module_loader.cpp.o
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/http/common/http_helpers.cpp:26:
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/pch/stdafx.h:29:
In file included from /Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/basic_types.h:42:
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2927:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2936:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2950:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2958:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2972:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2988:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3004:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3012:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3025:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3034:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3048:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3064:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3080:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3088:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3100:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3109:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3123:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3131:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3144:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o] Error 1
[ 16%] Linking CXX executable ../../../Binaries/test_runner
[ 16%] Built target test_runner
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/http/common/http_msg.cpp:25:
In file included from /Users/jaddison/projects/cpprestsdk/Release/src/pch/stdafx.h:29:
In file included from /Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/basic_types.h:42:
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2927:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2936:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2950:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2958:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2972:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:2988:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3004:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3012:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3025:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3034:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isUint64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3048:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3064:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3080:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3088:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3100:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3109:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 && IntTraits<U>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3123:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3131:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<T>::isInt64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:3144:9: error: unused typedef '__C_ASSERT__' [-Werror,-Wunused-local-typedef]
        C_ASSERT( IntTraits<U>::isUint64 );
        ^
/Users/jaddison/projects/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:153:34: note: expanded from macro 'C_ASSERT'
#define C_ASSERT(e) typedef char __C_ASSERT__[(e)?1:-1]
                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/cpprest.dir/http/common/http_msg.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/cpprest.dir/all] Error 2
make: *** [all] Error 2
jaddison@addi:~/projects/cpprestsdk/build.release (master)$ 
@jaddison
Copy link
Author

jaddison commented Nov 9, 2015

Ok, it was harder to find than I would have thought: http://casablanca.codeplex.com/workitem/404

Add warning-turned-error to the clang suppression list. This is only a workaround, really, so leaving this issue open.

Are we supposed to report issues here or on codeplex? Things seem somewhat in limbo/flux.

@alexkaratarakis
Copy link
Contributor

Hi there!
Please report issues here on github, as codeplex is being phased out.

@alexkaratarakis alexkaratarakis self-assigned this Nov 9, 2015
@rinopazzo
Copy link

Can you explain how to "Add warning-turned-error to the clang suppression list" in CMakeLists.txt file?
Thanks

@jaddison
Copy link
Author

The compiler on OSX is being a little too strict in this case; it's turning a warning into an error, causing the build to fail.

Suppress the warning-turned-error by added it to this line in CMakeLists.txt: https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L137

Once you do that, you should be able to build.

@rinopazzo
Copy link

It is possible to add a similar suppression flag to the iOS CMakeLists.txt (Build_iOS/CMakeLists.xtx)?...
Build on iOS fails

@jaddison
Copy link
Author

Based on this line https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L133, I'd say that my suggestion covers both iOS and OSX builds.

(edit: untested - perhaps let others know whether you were successful?)

@rinopazzo
Copy link

It works, I solved adding "-Wno-error" and "-Wno-unused-local-typedefs" into https://github.com/Microsoft/cpprestsdk/blob/master/Release/CMakeLists.txt#L137 . Thanks!

@kavyako
Copy link
Contributor

kavyako commented Dec 4, 2015

Closing this issue since we have merged the PR#23.

@kavyako kavyako closed this as completed Dec 4, 2015
reneme pushed a commit to reneme/cpprestsdk that referenced this issue Aug 1, 2018
…to master

* commit 'c46557e94ae62b8ad6bbf231522d1000a89b6d20':
  code style
  check if valid code_points
  use utf16
  use define, because it is better readable
  use hex data, because it is better readable
  use conversion to wchar_t
GerHobbelt pushed a commit to GerHobbelt/cpprestsdk that referenced this issue Mar 20, 2024
…hrase_to_public_helper_file

cpprestsdk: Enable access to get_defaut_reason_phrase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants