mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
Fixed warnings produced by gcc 4.6.3 when compiling in debug mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b1ce9f796c
commit
d8f627c6c8
53 changed files with 116 additions and 121 deletions
|
@ -68,7 +68,11 @@ bool is_debug_enabled(const char * tag);
|
|||
#define MAKE_NAME2(LINE) zofty_ ## LINE
|
||||
#define MAKE_NAME(LINE) MAKE_NAME2(LINE)
|
||||
#define DBG_UNIQUE_NAME MAKE_NAME(__LINE__)
|
||||
#ifdef __GNUC__
|
||||
#define COMPILE_TIME_ASSERT(expr) extern __attribute__((unused)) char DBG_UNIQUE_NAME[expr]
|
||||
#else
|
||||
#define COMPILE_TIME_ASSERT(expr) extern char DBG_UNIQUE_NAME[expr]
|
||||
#endif
|
||||
|
||||
template<class T>
|
||||
class class_invariant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue