Unity warnings

Eric S. Raymond esr at thyrsus.com
Sun Sep 6 07:58:11 UTC 2020


Hal Murray via devel <devel at ntpsec.org>:
> 
> I assume a  fix for this should be pushed upstream.
> 
> ../../tests/unity/unity.c: In function ‘UnityFail’:
> ../../tests/unity/unity.c:1757:6: warning: function might be candidate for 
> attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
>  1757 | void UnityFail(const char* msg, const UNITY_LINE_TYPE line)
>       |      ^~~~~~~~~
> ../../tests/unity/unity.c: In function ‘UnityIgnore’:
> ../../tests/unity/unity.c:1794:6: warning: function might be candidate for 
> attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
>  1794 | void UnityIgnore(const char* msg, const UNITY_LINE_TYPE line)
>       |      ^~~~~~~~~~~
> 

Yes.  I'll do it if yiu have not alreadsy idebtified upsrream.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>




More information about the devel mailing list