[RTEMS Project] #2286: cpustdatomic.h on 16 and 64 bit architectures
RTEMS trac
trac at rtems.org
Sun Mar 8 18:09:33 UTC 2015
#2286: cpustdatomic.h on 16 and 64 bit architectures
---------------------------+---------------------
Reporter: joel.sherrill | Owner: gedare
Type: defect | Status: new
Priority: normal | Milestone: 4.11.1
Component: General | Version: 4.10
Severity: normal | Resolution:
Keywords: |
---------------------------+---------------------
Description changed by joel.sherrill:
Old description:
> 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 and h8300.
>
> It would clean up the build logs a lot to get rid of it.
New description:
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.
--
--
Ticket URL: <http://devel.rtems.org/ticket/2286#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list