mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
avoiding clang warning messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
bf2340850a
commit
6ae6414236
|
@ -1298,6 +1298,10 @@ def mk_config():
|
|||
else:
|
||||
CXXFLAGS = '%s -D_NO_OMP_' % CXXFLAGS
|
||||
SLIBEXTRAFLAGS = ''
|
||||
if DEBUG_MODE:
|
||||
CXXFLAGS = '%s -g -Wall' % CXXFLAGS
|
||||
else:
|
||||
CXXFLAGS = '%s -O3 -D _EXTERNAL_RELEASE -fomit-frame-pointer' % CXXFLAGS
|
||||
sysname = os.uname()[0]
|
||||
if sysname == 'Darwin':
|
||||
SO_EXT = '.dylib'
|
||||
|
@ -1331,10 +1335,6 @@ def mk_config():
|
|||
CPPFLAGS = '%s -DZ3DEBUG' % CPPFLAGS
|
||||
if TRACE or DEBUG_MODE:
|
||||
CPPFLAGS = '%s -D_TRACE' % CPPFLAGS
|
||||
if DEBUG_MODE:
|
||||
CXXFLAGS = '%s -g -Wall' % CXXFLAGS
|
||||
else:
|
||||
CXXFLAGS = '%s -O3 -D _EXTERNAL_RELEASE -fomit-frame-pointer' % CXXFLAGS
|
||||
CXXFLAGS = '%s -msse -msse2' % CXXFLAGS
|
||||
config.write('PREFIX=%s\n' % PREFIX)
|
||||
config.write('CC=%s\n' % CC)
|
||||
|
|
|
@ -559,10 +559,10 @@ public:
|
|||
ts.push_back(m_ts.get(i)->translate(*new_m));
|
||||
}
|
||||
|
||||
unsigned finished_id = UINT_MAX;
|
||||
par_exception_kind ex_kind;
|
||||
unsigned finished_id = UINT_MAX;
|
||||
par_exception_kind ex_kind = DEFAULT_EX;
|
||||
std::string ex_msg;
|
||||
unsigned error_code;
|
||||
unsigned error_code = 0;
|
||||
|
||||
#pragma omp parallel for
|
||||
for (int i = 0; i < static_cast<int>(sz); i++) {
|
||||
|
@ -734,8 +734,8 @@ public:
|
|||
|
||||
bool found_solution = false;
|
||||
bool failed = false;
|
||||
par_exception_kind ex_kind;
|
||||
unsigned error_code;
|
||||
par_exception_kind ex_kind = DEFAULT_EX;
|
||||
unsigned error_code = 0;
|
||||
std::string ex_msg;
|
||||
|
||||
#pragma omp parallel for
|
||||
|
|
Loading…
Reference in a new issue