#2326 closed defect (fixed)

Or1k bsp not supported for c++ usage

Reported by: Alexander Krutwig Owned by:
Priority: normal Milestone: 4.11.1
Component: bsps Version: 4.11
Severity: normal Keywords: or1k
Cc: Hesham Almatary Blocked By:
Blocking:

Description

When ENABLE_RTEMS_CXX=yes, or1k build does not work properly.

In file included from ../../../../../rtems/c/src/librtems++/src/rtemsInterrupt.cc:19:0:
../../.././or1ksim/lib/include/rtems++/rtemsInterrupt.h:96:1: error: expected '}' at end of input

}

gmake[3]: * [src/librtems_a-rtemsInterrupt.o] Error 1
gmake[3]: * Waiting for unfinished jobs....
../../../../../rtems/c/src/librtems++/src/rtemsStatusCode.cc:74:1: error: expected '}' at end of input

}

../../../../../rtems/c/src/librtems++/src/rtemsEvent.cc:73:1: error: expected '}' at end of input

}

../../../../../rtems/c/src/librtems++/src/rtemsTimer.cc:99:1: error: expected '}' at end of input

}

gmake[3]: * [src/librtems_a-rtemsStatusCode.o] Error 1
gmake[3]: * [src/librtems_a-rtemsEvent.o] Error 1
gmake[3]:
* [src/librtems_a-rtemsTimer.o] Error 1
../../../../../rtems/c/src/librtems++/src/rtemsSemaphore.cc:173:1: error: expected '}' at end of input

}

../../../../../rtems/c/src/librtems++/src/rtemsMessageQueue.cc:163:1: error: expected '}' at end of input

}

gmake[3]: * [src/librtems_a-rtemsSemaphore.o] Error 1
gmake[3]: * [src/librtems_a-rtemsMessageQueue.o] Error 1
../../../../../rtems/c/src/librtems++/src/rtemsTask.cc: In member function 'const rtems_status_code rtemsTask::get_note(uint32_t, uint32_t&)':
../../../../../rtems/c/src/librtems++/src/rtemsTask.cc:269:26: warning: 'rtems_status_code rtems_task_get_note(rtems_id, uint32_t, uint32_t*)' is deprecated (declared at ../../.././or1ksim/lib/include/rtems/rtems/tasks.h:286) [-Wdeprecated-declarations]

return set_status_code(rtems_task_get_note(id, notepad, &note));


../../../../../rtems/c/src/librtems++/src/rtemsTask.cc:269:64: warning: 'rtems_status_code rtems_task_get_note(rtems_id, uint32_t, uint32_t*)' is deprecated (declared at ../../.././or1ksim/lib/include/rtems/rtems/tasks.h:286) [-Wdeprecated-declarations]

return set_status_code(rtems_task_get_note(id, notepad, &note));


../../../../../rtems/c/src/librtems++/src/rtemsTask.cc: In member function 'const rtems_status_code rtemsTask::set_note(uint32_t, uint32_t)':
../../../../../rtems/c/src/librtems++/src/rtemsTask.cc:275:26: warning: 'rtems_status_code rtems_task_set_note(rtems_id, uint32_t, uint32_t)' is deprecated (declared at ../../.././or1ksim/lib/include/rtems/rtems/tasks.h:309) [-Wdeprecated-declarations]

return set_status_code(rtems_task_set_note(id, notepad, note));


../../../../../rtems/c/src/librtems++/src/rtemsTask.cc:275:63: warning: 'rtems_status_code rtems_task_set_note(rtems_id, uint32_t, uint32_t)' is deprecated (declared at ../../.././or1ksim/lib/include/rtems/rtems/tasks.h:309) [-Wdeprecated-declarations]

return set_status_code(rtems_task_set_note(id, notepad, note));


../../../../../rtems/c/src/librtems++/src/rtemsTask.cc: At global scope:
../../../../../rtems/c/src/librtems++/src/rtemsTask.cc:286:1: error: expected '}' at end of input

}

gmake[3]: * [src/librtems_a-rtemsTask.o] Error 1
gmake[3]: Leaving directory `/scratch/git-rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/librtems++'
gmake[2]: * [all-recursive] Error 1
gmake[2]: Leaving directory `/scratch/git-rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim'
gmake[1]:
* [all-recursive] Error 1
gmake[1]: Leaving directory `/scratch/git-rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c'
make: * [all-recursive] Error 1

Change History (1)

comment:1 Changed on Apr 17, 2015 at 3:10:56 PM by Joel Sherrill

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.