Comments (4)
It's probably related to EpoxyDuino defaulting to -std=gnu++11
. It looks like std::make_unique
is a C++14 feature.
- AVR uses
gnu++11
: https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt#L28 - ESP32 2.0.5 also uses
gnu++11
: https://github.com/espressif/arduino-esp32/blob/master/platform.txt - Adafruit SAMD uses
gnu++11
: https://github.com/adafruit/ArduinoCore-samd/blob/master/platform.txt#L42 - STM32 is at
gnu++14
: https://github.com/stm32duino/Arduino_Core_STM32/blob/main/platform.txt#L64 - ESP8266 3.0.2 seems to be at
gnu++17
: https://github.com/esp8266/Arduino/blob/master/platform.txt#L43 - Teeny3, Teensy4 seems to be at
gnu++14
:- https://github.com/PaulStoffregen/cores/blob/master/teensy3/Makefile#L103
- https://github.com/PaulStoffregen/cores/blob/master/teensy4/Makefile#L127
- It's hard to tell because Teensy installs its Arduino core in a different way than other cores
I don't know. As you saw, I am getting tired of C++ and I don't have the energy to keep up with the exploding complexity of C++ anymore. But if ESP8266 uses gnu++17, and you want to compile ESP8266 code, I guess EpoxyDuino should support that. So the solution seems to be to use gnu++17
when EPOXY_CORE
is set to EPOXY_CORE_ESP8266
.
I might be able to look at this in about 1-2 weeks...
from epoxyduino.
Hello Brian
I knew about the fact that C++ becomes boring for you (same for me in fact). And you're right, make_unique is not supported every where on arduino's ides so....
You may close this 'issue'. I'll deal with this another way.
best regards
from epoxyduino.
Related Issues (20)
- Usleep call in yield causes degraded performance HOT 6
- change project name from UnixHostDuino to EpoxyDuino
- Using avr functions in EEPROM.h HOT 2
- PipeFail test does not finish HOT 4
- snprintf_P is not supported HOT 1
- snprintf formatting does not honour AVR '%S' (i.e. not '%s') for printing F() flash strings HOT 2
- IPAddress::toString() needed HOT 2
- Add support for Windows using MINGW32 HOT 1
- Terminal I/O as under Arduino IDE or terminal emulation program HOT 1
- Print::println() line-ending is inconsistent with Arduino core (a documented change) HOT 6
- Is it possible to override analogRead when testing with AUnit?
- IPAddressTest:6:10: fatal error: AceCommon.h: No such file or directory HOT 1
- Invalid library found in xxx/Arduino/libraries/EpoxyDuino: no headers files (.h) found in xxx/Arduino/libraries/EpoxyDuino HOT 1
- serialEvent() does not seem to work or is not implemented HOT 1
- Error when including U8glib: "Undefined symbols for architecture x86_64"
- Simulated time HOT 3
- Including LoRa library make error - use of undeclared identifier 'digitalPinToInterrupt' HOT 3
- Add support for ISR. HOT 1
- sizeof(int) gives 4, while AVR int is 2 bytes long HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epoxyduino.