GCC Head Gives C++ Compile Error with RTEMS
Joel Sherrill
joel.sherrill at oarcorp.com
Thu Aug 7 15:53:21 UTC 2014
Hi
SMP was enabled.
sparc-rtems4.11-g++ -B../../.././lib/ -B../../.././sis/lib/ -specs
bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-librtems++\"
-DPACKAGE_TARNAME=\"rtems-c-src-librtems++\"
-DPACKAGE_VERSION=\"4.10.99.0\"
-DPACKAGE_STRING=\"rtems-c-src-librtems++\ 4.10.99.0\"
-DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DPACKAGE_URL=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.
-I../../../../../rtems/c/src/librtems++ -isystem
../../.././sis/lib/include -mcpu=cypress -O2 -g -ffunction-sections
-fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
src/librtems___a-rtemsEvent.o -MD -MP -MF
src/.deps/librtems___a-rtemsEvent.Tpo -c -o
src/librtems___a-rtemsEvent.o `test -f 'src/rtemsEvent.cc' || echo
'../../../../../rtems/c/src/librtems++/'`src/rtemsEvent.cc
cc1plus: warning: command line option '-Wmissing-prototypes' is valid
for C/ObjC but not for C++
cc1plus: warning: command line option '-Wimplicit-function-declaration'
is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for
C/ObjC but not for C++
cc1plus: warning: command line option '-Wnested-externs' is valid for
C/ObjC but not for C++
In file included from
/users/joel/test-gcc/install-head/lib/gcc/sparc-rtems4.11/4.10.0/include/c++/atomic:38:0,
from
../../.././sis/lib/include/rtems/score/cpustdatomic.h:31,
from ../../.././sis/lib/include/rtems/score/cpuatomic.h:12,
from ../../.././sis/lib/include/rtems/score/atomic.h:20,
from ../../.././sis/lib/include/rtems/score/smplock.h:27,
from ../../.././sis/lib/include/rtems/score/percpu.h:28,
from ../../.././sis/lib/include/rtems/system.h:23,
from ../../.././sis/lib/include/rtems.h:29,
from
../../.././sis/lib/include/rtems++/rtemsStatusCode.h:22,
from ../../.././sis/lib/include/rtems++/rtemsEvent.h:23,
from
../../../../../rtems/c/src/librtems++/src/rtemsEvent.cc:19:
/users/joel/test-gcc/install-head/lib/gcc/sparc-rtems4.11/4.10.0/include/c++/bits/c++0x_warning.h:32:2:
error: #error This file requires compiler and library support for the
ISO C++ 2011 standard. This support is currently experimental, and must
be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list