#2286 closed defect (fixed)

cpustdatomic.h on 16 and 64 bit architectures

Reported by: Joel Sherrill Owned by: Gedare Bloom
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Joel Sherrill)

Gedare.. sending this one to you since I think you will have a quick solution to this based on your sparc64 porting experience.

This warning occurs 1908 times in the build of the two sparc64 BSPs:

../../cpukit/../../../usiii/lib/include/rtems/score/cpustdatomic.h: In function '_CPU_atomic_Fetch_sub_ptr':
../../cpukit/../../../usiii/lib/include/rtems/score/cpustdatomic.h:374:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

return (void *) val;

It also occurs on the m32c/m32csim and h8300/h8sxsim but not h8300/h8sim.

It would clean up the build logs a lot to get rid of it.

Change History (2)

comment:1 Changed on 03/08/15 at 18:09:33 by Joel Sherrill

Description: modified (diff)

comment:2 Changed on 03/09/15 at 07:52:25 by Sebastian Huber <sebastian.huber@…>

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