Skip to content

avr-gcc-15.2 C++23 compilation errors #43

@jputcu

Description

@jputcu

Using ZakKemble 15.2 avr-gcc compiler I get following errors:

include/bits/stl_iterator.h:2155:47: error: 'const class std::counted_iterator<_It>' has no member named '_M_current' [-Wtemplate-body]
 2155 |       noexcept(noexcept(ranges::iter_move(__i._M_current)))
      |                                               ^~~~~~~~~~
include/bits/stl_iterator.h:2163:49: error: 'const class std::counted_iterator<_It>' has no member named '_M_current' [-Wtemplate-body]
 2163 |         noexcept(noexcept(ranges::iter_swap(__x._M_current, __y._M_current)))
      |                                                 ^~~~~~~~~~
~~~~

I know you are using gcc-14.2 but I like to already report is so other know about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions