[RTEMS Project] #3761: RTEMS Object creation failed when using RTEMS with LEON3 BSP.

RTEMS trac trac at rtems.org
Thu Jun 27 07:14:08 UTC 2019


#3761: RTEMS Object creation failed when using RTEMS with LEON3 BSP.
----------------------+---------------------
 Reporter:  Ashritha  |       Owner:  (none)
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  admin     |     Version:
 Severity:  normal    |  Resolution:
 Keywords:            |  Blocked By:
 Blocking:            |
----------------------+---------------------

Comment (by Sebastian Huber):

 Replying to [comment:2 Ashritha]:
 [...]
 >   if (status = RTEMS_INVALID_ADDRESS)
 >    printf("TASK CREATION : RTEMS_INVALID_ADDRESS ERROR \n");
 [...]

 You should turn on and pay attention to compiler warnings to avoid bugs
 like this. Here you assign the value RTEMS_INVALID_ADDRESS to status.

--
Ticket URL: <http://devel.rtems.org/ticket/3761#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list