-
• #2
After hours of try and error:
The "-std=c++11" needs to be added to "LDFLAGS" line in the Makefile:
LDFLAGS?=-Winline -g -std=c++11
After hours of try and error:
The "-std=c++11" needs to be added to "LDFLAGS" line in the Makefile:
LDFLAGS?=-Winline -g -std=c++11
I am trying to include my own code in the espruino firmware. My code is partly written in c++. But if I try to build it, it failed:
I tried several ways to set the -std=c++ flag in the Makefile, but I couldn't resolve it.
(If I mixed something up, I apologize, C is not my native language 😅)
Jonas