Many Warnings in Tests

Joel Sherrill joel at rtems.org
Tue Nov 28 23:23:58 UTC 2017


Hi

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.

Anyone disagree?

Thanks.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20171128/59f9c859/attachment.html>


More information about the devel mailing list