new warnings in

Joel Sherrill joel.sherrill at oarcorp.com
Fri Mar 20 23:55:47 UTC 2015


Hi

I just started a warning build of all BSPs
and these popped up new as a side-effect of
recent changes. Looking at the code, I can
see the path where priority_task isn't initialized.
I didn't look for priority_interrupt.

../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include/tmacros.h:256:8: 
warning: 'priority_task' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
../../../../../../../rtems/c/src/../../testsuites/sptests/spintrcritical23/init.c:88:8: 
warning: 'priority_interrupt' may be used uninitialized in this function 
[-Wmaybe-uninitialized]

--joel


More information about the devel mailing list