Remove warnings and -Wno-type-limits option since it is not always supported.
This commit is contained in:
parent
00a9c69348
commit
9d99a64bf0
|
|
@ -82,7 +82,7 @@ CFLAGS="$iverilog_temp_cflags"
|
|||
|
||||
AC_SUBST(DEPENDENCY_FLAG, [-MD])
|
||||
AC_SUBST(WARNING_FLAGS, ["-Wall $iverilog_wextra_flag -Wshadow"])
|
||||
AC_SUBST(WARNING_FLAGS_CC, ["-Wno-unused -Wno-sign-compare -Wno-type-limits"])
|
||||
AC_SUBST(WARNING_FLAGS_CC, ["-Wno-unused -Wno-sign-compare"])
|
||||
AC_SUBST(WARNING_FLAGS_CXX, [""])
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%option prefix="yy"
|
||||
%{
|
||||
/*
|
||||
* Copyright (c) 1999-2013 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 1999-2014 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -852,7 +852,7 @@ static void def_add_arg(void)
|
|||
|
||||
char*arg = yytext;
|
||||
char*val;
|
||||
int val_length;
|
||||
int val_length = 0;
|
||||
|
||||
/* Break into ARG = value. This happens if the source specifies
|
||||
a default value for the formal argument. In that case, the
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2010 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2002-2014 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -33,7 +33,7 @@ static struct allocation_score_s {
|
|||
unsigned exp_bit : 24;
|
||||
unsigned sig_bit : 24;
|
||||
unsigned alloc : 8;
|
||||
} allocation_map[MAX_VEC] = { {0} };
|
||||
} allocation_map[MAX_VEC] = { {0, 0, 0, 0, 0, 0} };
|
||||
|
||||
/* This is the largest bit to have lookaside values. */
|
||||
static unsigned lookaside_top = 0;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000-2010 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2000-2014 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -37,13 +37,7 @@
|
|||
/* Icarus seed cookie */
|
||||
#define COOKIE 0x1ca1ca1c
|
||||
|
||||
static struct context_s global_context = {
|
||||
#if defined(__GCC__)
|
||||
.mti =
|
||||
#else
|
||||
/* For MSVC simply use the fact that mti is located first */
|
||||
#endif
|
||||
NP1 };
|
||||
static struct context_s global_context = {NP1, {0} };
|
||||
|
||||
static long mti_dist_uniform(long*seed, long start, long end)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue