lib/krb5: WIN32 disable warnings

Heimdal declares functions that never return as non-void.  Suppress
the following warnings now that functions are labeled 'noreturn'.

4646 - function declared with __declspec(noreturn) has non-void return type

4716 - 'function' must return a value

Change-Id: Id85cc435e99688bae7326a723a5a80d828859bf2
This commit is contained in:
Jeffrey Altman
2019-01-08 11:11:14 -05:00
parent 9d3e206b76
commit 7d5b844538

View File

@@ -31,6 +31,11 @@
* SUCH DAMAGE.
*/
#if defined(_MSC_VER)
# pragma warning(disable: 4646)
# pragma warning(disable: 4716)
#endif
#include "krb5_locl.h"
#include <err.h>