[RTEMS Project] #2326: Or1k bsp not supported for c++ usage

RTEMS trac trac at rtems.org
Fri Apr 17 07:42:16 UTC 2015


#2326: Or1k bsp not supported for c++ usage
----------------------+--------------------
 Reporter:  AlexKrEB  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  4.11.1
Component:  bsps      |    Version:  4.11
 Severity:  normal    |   Keywords:  or1k
----------------------+--------------------
 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

--
Ticket URL: <http://devel.rtems.org/ticket/2326>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list