Skip to content

Problems just including header with gcc 13.xΒ #9

@correaa

Description

@correaa

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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions