On 2014-06-26 12:50, Sebastian Huber wrote:
Hello,

for SMP support we need atomic operations.  We use the ones provided by the C11
and C++11 standards.  For this it is necessary to use -std=gnu++11 as a GCC
option since otherwise an include of <atomic> yields to compile time errors.
Does anyone know how to add this option to the CXXFLAGS in our build system?


With this change

http://git.rtems.org/rtems/commit/?id=89f8eab5822163f9cd619828ec7191c33d868f9b

we have now a compile time error with C++ and SMP enabled for GCC 4.9 and later unless we manage to add -std=gnu++11 to the CXXFLAGS.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to