mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
fixing some compilation warnings
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b94edf8fe6
commit
2583729085
|
@ -38,4 +38,4 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#endif _PROOF_UTILS_H_
|
||||
#endif
|
||||
|
|
|
@ -46,4 +46,4 @@ public:
|
|||
void operator()(expr_ref& fml, proof_ref& pr);
|
||||
};
|
||||
|
||||
#endif __QE_LITE_H__
|
||||
#endif
|
||||
|
|
|
@ -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_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";
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ Revision History:
|
|||
#include"str_hashtable.h"
|
||||
|
||||
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);
|
||||
SASSERT(str2int.contains("foo"));
|
||||
SASSERT(str2int.find_iterator("foo") != str2int.end());
|
||||
|
|
Loading…
Reference in a new issue