C++ cdtest Build Failure

Joel Sherrill joel.sherrill at oarcorp.com
Sat Aug 30 14:04:28 UTC 2014


Not sure. Today is Michele's birthday and it's a long weekend. Cleaned tools directory and left them building. Will see.

I only reported it because Chris mentioned many c++ build failures.

On August 30, 2014 9:02:24 AM CDT, Gedare Bloom <gedare at rtems.org> wrote:
>Is it only on or1k?
>
>On Fri, Aug 29, 2014 at 3:14 PM, Joel Sherrill
><joel.sherrill at oarcorp.com> wrote:
>> 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
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel




More information about the devel mailing list