Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
assert when using the Wt library
When linking to the Wt library, assert is removed from the code, as if by an NDEBUG #define (probably by the DNDEBUG #define).
The solution is to write a custom assert, like those at the page about assert.
Operating system(s) or programming environment(s)
Ubuntu 10.10 (maverick)
Qt Creator 2.0.0 Libraries used:
#------------------------------------------------- |
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.