mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Making sure Z3 compiles with gcc 4.7.1. Making sure 'make release' works. Temporarily removed iz3 and ocaml bindings from 'make release' script. Removed test_user_theory from 'make release' script.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
9bf3fd7646
commit
08d69153c0
3 changed files with 45 additions and 38 deletions
|
@ -17,6 +17,9 @@ Revision History:
|
|||
|
||||
--*/
|
||||
#include<cstdio>
|
||||
#ifndef _WINDOWS
|
||||
#include<unistd.h>
|
||||
#endif
|
||||
#include<iostream>
|
||||
#include"str_hashtable.h"
|
||||
|
||||
|
|
|
@ -4243,7 +4243,7 @@ private:
|
|||
constructor_decl * c = declare_constructor(*children, dt_names);
|
||||
if (!c) {
|
||||
del_constructor_decls(constructors.size(), constructors.c_ptr());
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
constructors.push_back(c);
|
||||
++children;
|
||||
|
@ -4251,7 +4251,7 @@ private:
|
|||
|
||||
if (constructors.size() == 0) {
|
||||
set_error("datatype must have at least one constructor", e);
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return mk_datatype_decl(name, constructors.size(), constructors.c_ptr());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue