Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.3 does not compile #122

Open
0-wiz-0 opened this issue Apr 6, 2021 · 0 comments
Open

0.3.3 does not compile #122

0-wiz-0 opened this issue Apr 6, 2021 · 0 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Apr 6, 2021

Please make a new release - 0.3.3 does not compile on my system (gcc 9.3.0 on NetBSD 9.99.81/amd64), while git head does.

The error in 0.3.3 is:

--- libext_la-DirTree.lo ---
In file included from DirTree.cpp:22:
DirTree.h:143:28: error: field 'm_file_basename_filter' has incomplete type 'DirTree::file_basename_filter_type' {aka 'std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>'}
  143 |  file_basename_filter_type m_file_basename_filter;
      |                            ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/g++/functional:59,
                 from DirTree.h:27,
                 from DirTree.cpp:22:
/usr/include/g++/bits/std_function.h:128:11: note: declaration of 'using file_basename_filter_type = class std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>' {aka 'class std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>'}
  128 |     class function;
      |           ^~~~~~~~
In file included from DirTree.cpp:22:
DirTree.h:144:27: error: field 'm_dir_basename_filter' has incomplete type 'DirTree::dir_basename_filter_type' {aka 'std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>'}
  144 |  dir_basename_filter_type m_dir_basename_filter;
      |                           ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/g++/functional:59,
                 from DirTree.h:27,
                 from DirTree.cpp:22:
/usr/include/g++/bits/std_function.h:128:11: note: declaration of 'using dir_basename_filter_type = class std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>' {aka 'class std::function<bool(const std::__cxx11::basic_string<char>&) noexcept>'}
  128 |     class function;
      |           ^~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant