Project

General

Profile

Actions

Bug #2288

closed

Compilation fails on FreeBSD 10.1 in debug mode

Added by Alex Afanasyev over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
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.

Actions #1

Updated by Alex Afanasyev over 9 years ago

Just checked and see that ndn-cxx already has a fix for the debug mode compilation (-Wno-error=deprecated-register)

Actions #2

Updated by Alex Afanasyev over 9 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF