Nikolaj Bjorner
cae414e575
fixes for #1296 , removing COMPILE_TIME_ASSERT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-09 13:59:44 -07:00
Nuno Lopes
632c2d8ebf
use static_assert in COMPILE_TIME_ASSERT
2017-08-14 20:10:17 +01:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Nikolaj Bjorner
b1298d7bde
ensure that assertions within the unit tests are exercised in all build modes, remove special handling of SASSERT for release mode #1163
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-26 20:28:55 -07:00
Christoph M. Wintersteiger
e53b580cb4
added compiler macro to disable invocation of the debugger upon failure.
2016-01-07 15:58:10 +00:00
Nuno Lopes
d9bafc3fba
rewrite scoped_timer for linux
...
The previous version was racy and could lead to crashes.
The timer could be deleted before the callback was called, making it execute on already freed memory
This new version is similar to Mac's. It spawns its own thread and uses pthread_cond_wait.
Care is taken for small timeouts to avoid races in the thread creation and timer destruction.
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-11-22 11:40:52 +00:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Nuno Lopes
9d5bc024e4
add implementation of UNREACHABLE for MSVC in release mode.
...
This reduces code size of Z3 by 0.1% \o/
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-05 09:51:05 +00:00
Nuno Lopes
61d67dc2de
fix a few compiler warnings
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-18 14:38:40 +01:00
Nuno Lopes
7ce88d4da9
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>
2013-04-21 14:36:39 -07:00
Leonardo de Moura
e0c79c06bc
removed class
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-22 15:21:57 -08:00
Leonardo de Moura
ed5d154f78
broke dependency between components that need initialization and memory_manager
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-17 11:30:25 -08:00
Leonardo de Moura
d8f627c6c8
Fixed warnings produced by gcc 4.6.3 when compiling in debug mode
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-30 23:43:00 -07:00
Leonardo de Moura
2c464d413d
Reorganizing source code. Created util dir
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-20 10:19:38 -07:00