How to cast for user provided idle thread
    Joel Sherrill 
    joel.sherrill at oarcorp.com
       
    Sat Mar 21 00:10:41 UTC 2015
    
    
  
Hi
Two tests have this warning on all BSPs.
../../../../../../../rtems/c/src/../../testsuites/samples/minimum/init.c:101:34: 
warning: initialization from incompatible pointer type 
[-Wincompatible-pointer-types]
../../../../../../../rtems/c/src/../../testsuites/sptests/sp54/init.c:71:34: 
warning: initialization from incompatible pointer type 
[-Wincompatible-pointer-types]
I think all that is needed is a cast so the Init
task can also be the IDLE thread. But my brain was
hurting today and I couldn't remember the cast.
Giving a shout out for the answer. :)
Thanks.
--joel
    
    
More information about the devel
mailing list