gvansickle / ucg

UniversalCodeGrep (ucg) is an extremely fast grep-like tool specialized for searching large bodies of source code.

Home Page:https://gvansickle.github.io/ucg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error with clang++ 4.0.0 vs. DirTree

gvansickle opened this issue · comments

clang++ 4.0.0 doesn't like the *_basename_filter_type's in DirTree.h:

In file included from ../../../src/libext/DirTree.cpp:22:
../../../src/libext/DirTree.h:143:28: error: implicit instantiation of undefined template 'std::function<bool
      (const std::__cxx11::basic_string<char> &) noexcept>'
        file_basename_filter_type m_file_basename_filter;
                                  ^

Ends up it's the noexcept in the std::function<> template param.

Resolved in 395f890.

This compilation error prevents us from offering ucg to Sierra & High Sierra (macOS 10.12 & 10.13) users in Homebrew. Could you consider making a minor release with this bug fix? Thanks