FS-7294: Enable -Werror when building with clang compiler #resolve

This commit is contained in:
Michael Jerris
2015-02-17 12:20:24 -05:00
parent ac17d86d92
commit 302a339fdf
11 changed files with 151 additions and 133 deletions

View File

@@ -57,11 +57,20 @@
#include "sha1.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-const-variable"
#endif
#ifndef lint
static const char rcsid[] =
"$Id: sha1.c 680 2003-07-25 21:57:38Z asaddi $";
#endif /* !lint */
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#define ROTL(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
#define ROTR(x, n) (((x) >> (n)) | ((x) << (32 - (n))))