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

Build fails on GCC 12.1.0 #4

Open
Harrm opened this issue May 12, 2022 · 0 comments
Open

Build fails on GCC 12.1.0 #4

Harrm opened this issue May 12, 2022 · 0 comments

Comments

@Harrm
Copy link
Contributor

Harrm commented May 12, 2022

src/CMakeFiles/logging_system.dir/logging_system.cpp.o 
/usr/bin/c++ -DFMT_LOCALE -isystem /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src/PUBLIC -isystem /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/include -isystem /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src/PRIVATE -isystem /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src -isystem /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Install/include -O3 -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/logging_system.dir/logging_system.cpp.o -MF src/CMakeFiles/logging_system.dir/logging_system.cpp.o.d -o src/CMakeFiles/logging_system.dir/logging_system.cpp.o -c /home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src/logging_system.cpp
/home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src/logging_system.cpp: In member function ‘void soralog::LoggingSystem::setParentOfGroup(const std::shared_ptr<soralog::Group>&, const std::shared_ptr<soralog::Group>&)’:
/home/harrm/.hunter/_Base/7476c4d/25c2e81/2ef435b/Build/soralog/Source/src/logging_system.cpp:173:10: error: ‘function’ is not a member of ‘std’
  173 |     std::function<int(const std::shared_ptr<const Group> &)> fn =
      |          ^~~~~~~~
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