C++ cdtest Build Failure
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Aug 29 19:14:49 UTC 2014
Hi
Any suggestions?
In file included from
../../../../../../../rtems/c/src/../../testsuites/samples/cdtest/main.cc:29:0:
/users/joel/rtems-4.11-work/tools/lib/gcc/or1k-rtems4.11/4.8.3/include/c++/cstdlib:
In function 'long long int std::abs(long long int)':
/users/joel/rtems-4.11-work/tools/lib/gcc/or1k-rtems4.11/4.8.3/include/c++/cstdlib:174:20:
error: declaration of C function 'long long int std::abs(long long int)'
conflicts with
abs(long long __x) { return __builtin_llabs (__x); }
^
/users/joel/rtems-4.11-work/tools/lib/gcc/or1k-rtems4.11/4.8.3/include/c++/cstdlib:166:3:
error: previous declaration 'long int std::abs(long int)' here
abs(long __i) { return __builtin_labs(__i); }
^
../../../../../../../rtems/c/src/../../testsuites/samples/cdtest/main.cc: At
global scope:
../../../../../../../rtems/c/src/../../testsuites/samples/cdtest/main.cc:216:1:
error: expected '}' at end of input
}
^
--
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