Arduino 1.0.6: How to change compiler flag?
I'm currently working on a project using Arduino 1.0.6 IDE and it does not seem to accept C++ 11 std::array. Is it possible to change the compiler flag to make this work? Using the IDE is very difficult to do that. I would advise you to go full command line by using Sudar's great Arduino Makefile . This way you'll be able to customise the compiler flags to your liking. I've also created the Bare Arduino Project to help you get started. The documentation covers a lot points, from installing the latest avr-gcc toolchain to how to use the repository, compile and upload your code. If you find