3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 12:53:38 +00:00

fix a few compilation warnings

- remove unused variables and class fields
 - add support for gcc 4.5 & clang's __builtin_unreachable
 - fix 2 bugs related to strict aliasing
 - remove a few unused function parameters

Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
This commit is contained in:
Nuno Lopes 2013-04-21 14:36:39 -07:00
parent 0673f645c9
commit 7ce88d4da9
46 changed files with 97 additions and 122 deletions

View file

@ -60,11 +60,11 @@ void myInvalidParameterHandler(
#define END_ERR_HANDLER() {}
#endif
bool g_warning_msgs = true;
bool g_use_std_stdout = false;
std::ostream* g_error_stream = 0;
std::ostream* g_warning_stream = 0;
bool g_show_error_msg_prefix = true;
static bool g_warning_msgs = true;
static bool g_use_std_stdout = false;
static std::ostream* g_error_stream = 0;
static std::ostream* g_warning_stream = 0;
static bool g_show_error_msg_prefix = true;
void send_warnings_to_stdout(bool flag) {
g_use_std_stdout = flag;