'assert': identifier not found - in Release mode
Posted on 2009-04-08
I've got some cod which compiles fine in debug mode but gives the following error when compiling in release mode:
'assert': identifier not found
The simple fix is to put a #include <cassert> in the file where the problem occurs.
However, I thought assert statements are ignored in release mode, so technically I shouldn't be getting this problem.
I'm using Visual Studio 2005 Pro with SP1 running on WinXP with SP3. The application is a C++ solution and uses MFC.