Loading...
Welcome,
Guest
. Please
login
or
register
.
May 20, 2013, 12:47:15 pm
|
Arduino Forum
::
Development
::
Other Software Development
:: C++11
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: C++11 (Read 645 times)
0 Members and 1 Guest are viewing this topic.
MotoVeterano
Offline
Newbie
Karma: 0
Posts: 6
C++11
«
on:
July 10, 2012, 11:58:16 pm »
Bigger
Smaller
Reset
Is Arduino C++11 compatible?
Logged
WizenedEE
Offline
Edison Member
Karma: 15
Posts: 1002
Arduino rocks
Re: C++11
«
Reply #1 on:
July 11, 2012, 12:05:07 am »
Bigger
Smaller
Reset
It was my understanding any
every
program that works under C++03 would work under C++11.
I enabled C++11 for my projects by modifying the arduino source a little to provide a --std=gnu++11 switch to the compiler.
Logged
MotoVeterano
Offline
Newbie
Karma: 0
Posts: 6
Re: C++11
«
Reply #2 on:
July 11, 2012, 12:13:34 am »
Bigger
Smaller
Reset
Wow, Quick response.
Thanks, í'll get cracking.
Logged
westfw
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5453
Strongly opinionated, but not official!
Re: C++11
«
Reply #3 on:
July 11, 2012, 04:02:55 am »
Bigger
Smaller
Reset
The version of g++ shipped with the windows and Mac versions of Arduino seems to be from 2008... (it still accepts --std=gnu++11, though.)
Logged
MichaelMeissner
Ayer, Massachusetts, USA
Offline
Edison Member
Karma: 27
Posts: 1095
Re: C++11
«
Reply #4 on:
July 11, 2012, 06:54:53 am »
Bigger
Smaller
Reset
If you want C++11, you really need a more modern GCC (and then edit the software that compiles the Arduino to enable C++11 support). I believe you want GCC 4.7 (4.7.1 was just released).
Logged
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Development
::
Other Software Development
:: C++11
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...