Many Warnings in Tests

Joel Sherrill joel at rtems.org
Wed Nov 29 00:23:29 UTC 2017


Ok. I will fix this and commit it tomorrow.

Then look at other warnings.

Thanks.

--joel

On Nov 28, 2017 5:26 PM, "Chris Johns" <chrisj at rtems.org> wrote:

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
_______________________________________________
devel mailing list
devel at rtems.org
http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20171128/382a9a07/attachment.html>


More information about the devel mailing list