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

9.8 fails to build with abseil-20240116.0: error: nested name specifier 'LogSeverity::' for declaration does not refer into a class, class template or class template partial specialization #4074

Closed
yurivict opened this issue Feb 2, 2024 · 1 comment
Assignees
Labels
Bug Build: Bazel Bazel based build issue Build: CMake CMake based build issue dependencies Pull requests that update a dependency file
Milestone

Comments

@yurivict
Copy link

yurivict commented Feb 2, 2024

What version of OR-Tools and what language are you using?
Version: 9.8

What did you do?
regular build

What did you see instead?

In file included from /usr/ports/math/or-tools/work/or-tools-9.8/ortools/algorithms/dynamic_permutation.cc:14: 
In file included from /usr/ports/math/or-tools/work/or-tools-9.8/ortools/algorithms/dynamic_permutation.h:22:
In file included from /usr/ports/math/or-tools/work/or-tools-9.8/ortools/base/logging.h:21:
/usr/local/include/absl/base/log_severity.h:92:36: error: nested name specifier 'LogSeverity::' for declaration does not refer into a class, class template or class template partial specialization 
static constexpr absl::LogSeverity kLogDebugFatal = absl::LogSeverity::kError;
                                   ^~~~~~~~~~~~~~
/usr/ports/math/or-tools/work/or-tools-9.8/ortools/base/logging.h:18:37: note: expanded from macro 'kLogDebugFatal'
#define kLogDebugFatal LogSeverity::kError
                       ~~~~~~~~~~~~~^                                   

Anything else we should know about your project / environment
FreeBSD 14.0
clang-16

@lperron
Copy link
Collaborator

lperron commented Feb 2, 2024

yes. Not way it can work as I had to implement it because it was not release.
The main branch supports it. But I have big issues with the code. Debugging.

Thanks

@lperron lperron closed this as completed Feb 2, 2024
@Mizux Mizux self-assigned this Feb 2, 2024
@Mizux Mizux added Bug Build: CMake CMake based build issue Build: Bazel Bazel based build issue dependencies Pull requests that update a dependency file labels Feb 2, 2024
@Mizux Mizux added this to the v9.9 milestone Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Build: Bazel Bazel based build issue Build: CMake CMake based build issue dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants