Menu

#1035 'Assertion '__pos' <= size() failed' I don't know what to do

Undefined
duplicate
nobody
None
Undefined
2020-11-20
2020-11-20
No

I first tought that this mistake was something to do with my code, but after trying to run several different codes, i'm starting to think that I did some mistake when i installed Code::Blocks or Mingw. Here's the error:

'
/home/keith/builds/mingw/gcc-9.2.0-mingw32-cross-native/mingw32/libstdc++-v3/include/bits/basic_string.h:1067: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]</char></char>: Assertion '__pos <= size()' failed.

'

Discussion

  • Teodor Petrov

    Teodor Petrov - 2020-11-20
    • status: open --> duplicate
     
  • Teodor Petrov

    Teodor Petrov - 2020-11-20

    No point opening multiple issue or using private messages. Closing as duplicate of [#1034]

     

    Related

    Tickets: #1034


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.