Actions
Bug #4721
closedDebug build fails with clang-5 and earlier [-Wmissing-braces]
Start date:
Due date:
% Done:
100%
Estimated time:
Description
In clang versions before 6.0, the -Wmissing-braces
warning can generate false positives and therefore break ndn-cxx compilation in debug mode (due to -Werror
). See upstream bug https://bugs.llvm.org/show_bug.cgi?id=21629
[ 94/378] Compiling src/net/detail/netlink-socket.cpp
../src/net/detail/netlink-socket.cpp:423:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
boost::asio::buffer(hdr.get(), sizeof(GenlRequestHeader)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{
1 error generated.
Updated by Davide Pesavento about 6 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Davide Pesavento about 6 years ago
- Status changed from Code review to Closed
Actions