Skip to content

Conversation

@Crazor
Copy link

@Crazor Crazor commented Jun 22, 2018

Those defines not only break <vector>, but <functional> as well.

Those defines not only break <vector>, but <functional> as well.
@Crazor
Copy link
Author

Crazor commented Jun 22, 2018

Why is this even redefined? Wouldn't it be better to just #include <algorithm>?

Edit: Maybe this is the way to go: https://github.com/esp8266/Arduino/blob/master/cores/esp8266/Arduino.h#L265

@me-no-dev
Copy link
Member

It's a remanence from AVR :) let's go with 8266 way ;) seems that they had the same issue and solved it after esp32 was created.

@yoursunny
Copy link
Contributor

let's go with 8266 way

#1783 implements this solution.
I've been fed up with this problem for several years.

@me-no-dev me-no-dev closed this Sep 17, 2018
@me-no-dev
Copy link
Member

implemented :)

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

Successfully merging this pull request may close these issues.

3 participants