Skip to content

Build failure after pull request #892 #950

Closed
@LocutusOfBorg

Description

@chris0x44 @BillyONeal
Lets discuss the build regression in a new issue.
This commit makes the Debian/Ubuntu builds fail...
http://debomatic-amd64.debian.net/distribution#unstable/cpprest/2.10.7-1/buildlog

any idea?

cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Release/src && /usr/bin/c++  -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/<<PKGBUILDDIR>>/Release/include -I/<<PKGBUILDDIR>>/Release/src/pch  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fno-strict-aliasing -fPIC   -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -o CMakeFiles/cpprest.dir/websockets/client/ws_msg.cpp.o -c /<<PKGBUILDDIR>>/Release/src/websockets/client/ws_msg.cpp
/<<PKGBUILDDIR>>/Release/src/utilities/asyncrt_utils.cpp: In function 'size_t utility::count_utf8_to_utf16(const string&)':
/<<PKGBUILDDIR>>/Release/src/utilities/asyncrt_utils.cpp:359:76: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
     auto sData = reinterpret_cast<const UtilCharInternal_t* const>(s.data());
                                                                            ^
/<<PKGBUILDDIR>>/Release/src/utilities/asyncrt_utils.cpp: In function 'utf16string utility::conversions::utf8_to_utf16(const string&)':
/<<PKGBUILDDIR>>/Release/src/utilities/asyncrt_utils.cpp:444:78: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
     auto srcData = reinterpret_cast<const UtilCharInternal_t* const>(s.data());
                                                                              ^
[ 13%] Building CXX object Release/src/CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Release/src && /usr/bin/c++  -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/<<PKGBUILDDIR>>/Release/include -I/<<PKGBUILDDIR>>/Release/src/pch  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fno-strict-aliasing -fPIC   -Werror -pedantic -Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code -o CMakeFiles/cpprest.dir/websockets/client/ws_client.cpp.o -c /<<PKGBUILDDIR>>/Release/src/websockets/client/ws_client.cpp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions