3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-03 11:25:40 +00:00

Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable

This commit is contained in:
Nikolaj Bjorner 2012-10-25 01:12:18 -07:00
commit 9c057b87d1
6 changed files with 6 additions and 5 deletions

View file

@ -119,6 +119,7 @@ AS_IF([test "$host_os" = "Darwin"], [
SLIBEXTRAFLAGS="-Wl,--no-whole-archive" SLIBEXTRAFLAGS="-Wl,--no-whole-archive"
COMP_VERSIONS= COMP_VERSIONS=
STATIC_FLAGS=-static STATIC_FLAGS=-static
CXXFLAGS+=" -fno-strict-aliasing"
], [test "${host_os:0:6}" = "CYGWIN"], [ ], [test "${host_os:0:6}" = "CYGWIN"], [
PLATFORM=win PLATFORM=win
SO_EXT=.dll SO_EXT=.dll

View file

@ -1,7 +1,7 @@
CXX=@CXX@ CXX=@CXX@
CXXFLAGS=@CPPFLAGS@ @CXXFLAGS@ -c -O3 -fomit-frame-pointer -Wall -fopenmp -msse -msse2 -mfpmath=sse CXXFLAGS=@CPPFLAGS@ @CXXFLAGS@ -c -O3 -fomit-frame-pointer -fopenmp -msse -msse2 -mfpmath=sse
CXX_OUT_FLAG=-o CXX_OUT_FLAG=-o
OBJ_EXT=.o OBJ_EXT=.o
LIB_EXT=.a LIB_EXT=.a

View file

@ -38,4 +38,4 @@ public:
}; };
#endif _PROOF_UTILS_H_ #endif

View file

@ -46,4 +46,4 @@ public:
void operator()(expr_ref& fml, proof_ref& pr); void operator()(expr_ref& fml, proof_ref& pr);
}; };
#endif __QE_LITE_H__ #endif

View file

@ -219,7 +219,7 @@ namespace datalog {
Z3_fixedpoint_add_rule(ctx, dl, Z3_mk_implies(ctx, Z3_mk_and(ctx, 2, body4), pxy), 0); Z3_fixedpoint_add_rule(ctx, dl, Z3_mk_implies(ctx, Z3_mk_and(ctx, 2, body4), pxy), 0);
Z3_lbool r = Z3_fixedpoint_query(ctx, dl, pxy); Z3_lbool r = Z3_fixedpoint_query(ctx, dl, pxy);
if (r != l_undef) { if (r != Z3_L_UNDEF) {
std::cout << Z3_ast_to_string(ctx, Z3_fixedpoint_get_answer(ctx, dl)) << "\n"; std::cout << Z3_ast_to_string(ctx, Z3_fixedpoint_get_answer(ctx, dl)) << "\n";
} }

View file

@ -20,7 +20,7 @@ Revision History:
#include"str_hashtable.h" #include"str_hashtable.h"
static void tst1() { static void tst1() {
map<char *, int, str_hash_proc, str_eq_proc> str2int; map<char const *, int, str_hash_proc, str_eq_proc> str2int;
str2int.insert("foo", 35); str2int.insert("foo", 35);
SASSERT(str2int.contains("foo")); SASSERT(str2int.contains("foo"));
SASSERT(str2int.find_iterator("foo") != str2int.end()); SASSERT(str2int.find_iterator("foo") != str2int.end());