Joel Sherrill commented on a discussion on 
cpukit/include/rtems/score/processormaskimpl.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1343#note_154013

 >  )
 >  {
 >    return _Processor_mask_Copy(
 >      &dst->__bits[ 0 ],

I was attempting to address a set of warnings shown below. But _sys/_bitset.h_ 
is from FreeBSD. We didn't pick the type.

$ ./waf >/dev/null
```
Regenerate build specification cache (needs a couple of seconds)...
In file included from ../../../cpukit/include/rtems/score/smpimpl.h:43,
                 from ../../../bsps/shared/start/bspfatal-default.c:43:
../../../cpukit/include/rtems/score/processormaskimpl.h: In function 
'_Processor_mask_To_cpu_set_t':
../../../cpukit/include/rtems/score/processormaskimpl.h:409:5: error: pointer 
targets in passing argument 1 of '_Processor_mask_Copy' differ in signedness 
[-Werror=pointer-sign]
  409 |     &dst->__bits[ 0 ],
      |     ^~~~~~~~~~~~~~~~~
      |     |
      |     long int *
../../../cpukit/include/rtems/score/processormaskimpl.h:380:24: note: expected 
'long unsigned int *' but argument is of type 'long int *'
  380 |   unsigned long       *dst,
      |   ~~~~~~~~~~~~~~~~~~~~~^~~
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1343#note_154013
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-1dt0bz9x05itvl8p7e0d9aagx-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to