I don't have a similar system here to test, but I believe this is because your system library uses something like
#define assert(x) (__builtin_expect...
to define the assert
function. It happens that one of the functions in one of our classes was called assert
as well and the preprocessor replaces that with the rest of the #define. It seems that this problem is already fixed in the unstable branch of Z3, which you can get from the source code download on Codeplex, by switching the branch selector from "master" to "unstable" before clicking on Download.