3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 00:48:45 +00:00

fixing some compilation warnings

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-24 23:43:58 -07:00
parent b94edf8fe6
commit 2583729085
4 changed files with 4 additions and 4 deletions

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());