]> granicus.if.org Git - check/commit
Add noreturn attribute to select functions and added -Wmissing-noreturn
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Sep 2013 17:58:09 +0000 (17:58 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Sep 2013 17:58:09 +0000 (17:58 +0000)
commit34ec4cab462c031db8e251828e62704d57aa857b
tree7c0702a582ca9ab2b7f10ab7dfb6debad1c75732
parent7bcd0ec76eb6c529253a0829a1d9e2bccd0f693e
Add noreturn attribute to select functions and added -Wmissing-noreturn

Added the gcc attribute noreturn to a few functions that could use it
(but only if the compiler is gcc 2.5 >=),  and added the warning to
point out when a function should use noreturn.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@791 64e312b2-a51f-0410-8e61-82d0ca0eb02a
configure.ac
lib/libcompat.h
src/check.h.in
src/check_error.h