Actions
Bug #2288
closedCompilation fails on FreeBSD 10.1 in debug mode
Start date:
Due date:
% Done:
100%
Estimated time:
Description
This bug applies to ndn-cxx, NFD, and I guess everything else that uses boost (at least regular expressions library).
I'm not familiar with this register
business, but I have seen this before.
In file included from ../tools/nfdc.cpp:31:
In file included from /usr/local/include/boost/algorithm/string/regex_find_format.hpp:15:
In file included from /usr/local/include/boost/regex.hpp:31:
In file included from /usr/local/include/boost/regex/v4/regex.hpp:48:
/usr/local/include/boost/regex/v4/regex_raw_buffer.hpp:132:7: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register]
register pointer result = end;
^~~~~~~~~
1 error generated.
Proposed fix is to suppress deprecated-register warning completely.
Updated by Alex Afanasyev almost 10 years ago
Just checked and see that ndn-cxx already has a fix for the debug mode compilation (-Wno-error=deprecated-register
)
Updated by Alex Afanasyev almost 10 years ago
- Status changed from New to Code review
- Assignee set to Alex Afanasyev
- % Done changed from 0 to 100
Updated by Junxiao Shi almost 10 years ago
- Status changed from Code review to Closed
Actions