Many Warnings in Tests

Chris Johns chrisj at rtems.org
Tue Nov 28 23:25:57 UTC 2017


On 29/11/2017 10:23, Joel Sherrill wrote:
> 
> Some recent change has introduced a lot of warnings like the following where
> POSIX threads do not end with "return NULL;" or similar:
> 
> og/arm-altcycv_devkit.log:../../../../../../../rtems/c/src/../../testsuites/psxtmtests/psxtmbarrier01/init.c:86:1:
> warning: control reaches end of non-void function [-Wreturn-type]
> 
> My thought is that rtems_test_exit() should have been declared as noreturn.

It should be the same as exit().

> 
> Anyone disagree?
> 

Not me.

Chris



More information about the devel mailing list