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

Problems just including header with gcc 13.x #9

Open
correaa opened this issue Dec 22, 2023 · 0 comments
Open

Problems just including header with gcc 13.x #9

correaa opened this issue Dec 22, 2023 · 0 comments

Comments

@correaa
Copy link
Collaborator

correaa commented Dec 22, 2023

The convenience header can be included without problem with gcc 12 https://godbolt.org/z/fGM9foj9x

but it gives compilation errors in gcc 13.x https://godbolt.org/z/sxdeY6zEE

#include <iostream>
#include <ranges>

#include <belleviews.hpp>

int main() {}
In file included from /opt/compiler-explorer/libs/belleviews/trunk/sources/belleviews.hpp:73,
                 from <source>:4:
/opt/compiler-explorer/libs/belleviews/trunk/sources/bellefilter.hpp:194:29: error: 'const_iterator_t' in namespace 'belleviews::_intern' does not name a template type
  194 |     using VIterT = _intern::const_iterator_t<V>;
      |                             ^~~~~~~~~~~~~~~~
/opt/compiler-explorer/libs/belleviews/trunk/sources/bellefilter.hpp:196:5: error: 'VIterT' does not name a type
  196 |     VIterT current_ = VIterT();                           // current position
...
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