- Silenced flex-generated sign-unsigned warning print with gcc

diagnostic pragma.


git-svn-id: file:///svn/unbound/trunk@3852 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-09-13 10:44:24 +00:00
parent 2db3851430
commit 0c954d99c3
3 changed files with 214 additions and 202 deletions

View file

@ -1,3 +1,7 @@
13 September 2016: Wouter
- Silenced flex-generated sign-unsigned warning print with gcc
diagnostic pragma.
9 September 2016: Wouter
- Fix #831: workaround for spurious fread_chk warning against petal.c

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,10 @@
* See LICENSE for the license.
*
*/
/* because flex keeps having sign-unsigned compare problems that are unfixed*/
#pragma GCC diagnostic ignored "-Wsign-compare"
#include <ctype.h>
#include <string.h>
#include <strings.h>