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

problem with cbegin and cend with gcc version 4.9.2 (Debian 4.9.2-10) #4

Open
lmanchon opened this issue Jun 26, 2018 · 0 comments
Open

Comments

@lmanchon
Copy link

[ 66%] Building CXX object CMakeFiles/libtandem.dir/tandem.cpp.o
In file included from ~/tandem/tandem.cpp:9:0:
~/tandem/tandem.hpp: In function ‘std::vector tandem::make_suffix_array(const T&)’:
~/tandem/tandem.hpp:75:40: error: ‘cbegin’ is not a member of ‘std’
return std::vectorstd::uint32_t {std::cbegin(sa), std::cend(sa)};
^
~/tandem/tandem.hpp:75:57: error: ‘cend’ is not a member of ‘std’
return std::vectorstd::uint32_t {std::cbegin(sa), std::cend(sa)};
^
~/tandem/tandem.hpp: In function ‘std::vector tandem::make_suffix_array(const T&, std::size_t)’:
~/tandem/tandem.hpp:84:27: error: ‘cbegin’ is not a member of ‘std’
std::fill_n(std::copy(std::cbegin(sa), std::cend(sa), std::begin(result)), extra_capacity, 0);
^

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