Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • unrecognized command line option "-std=gnu++11" - sounds like the compiler you installed is too old. It looks like it is from 2010. Right now it is 2017. Commented Feb 26, 2017 at 22:46
  • @Nick Gammon This was recommendation from answer posted. Yes, this winavr copy is from 2010, as specified in answer, and the current year is now 2017. I wondered about that. Now that I have a starting point, I now see that there is a newer copy at sourceforge.net/projects/winavr, and I will try that out. Commented Feb 27, 2017 at 17:11
  • @Nick_Gammon Nope, same copy. Perhaps you can suggest a direction to pursue. Commented Feb 27, 2017 at 17:25
  • The avr-g++ that ships with the Arduino IDE would be more recent. For example with IDE 1.6.9 I find: avr-g++.exe (GCC) 4.8.1. That accepts -std=gnu++11 on the command-line. Commented Feb 27, 2017 at 20:51
  • I found a whole lot of binaries (.exe files) in arduino-1.6.9\hardware\tools\avr\bin where arduino-1.6.9 is my install folder. Commented Feb 27, 2017 at 20:53