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

Error when building the library on OS X C++11 #26

Open
Bambofy opened this issue Jan 11, 2023 · 2 comments
Open

Error when building the library on OS X C++11 #26

Bambofy opened this issue Jan 11, 2023 · 2 comments

Comments

@Bambofy
Copy link

Bambofy commented Jan 11, 2023

Hi, trying to build generator on OS X using C++11 fails with this error...

In file included from /Users/r/Documents/Development/C++/generator-master/src/EmptyPath.cpp:8:
In file included from /Users/r/Documents/Development/C++/generator-master/include/generator/EmptyPath.hpp:10:
/Users/r/Documents/Development/C++/generator-master/include/generator/Iterator.hpp:35:33: error: no type named 'input_iterator_tag' in namespace 'std'
using iterator_category = std::input_iterator_tag;
~~~~~^
1 error generated.

/Users/r/Documents/Development/C++/generator-master/include/generator/Iterator.hpp:35:33: No type named 'input_iterator_tag' in namespace 'std'

I think that it has something to do with iterators being deprecated but i don't know.
All help is welcome, thank you !

@onehundredfeet
Copy link

I'm having the same issue, but looks like it hasn't been addressed.

@onehundredfeet
Copy link

onehundredfeet commented Mar 27, 2024

Add

#include <iterator>

to the header

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

2 participants