
26 May
2008
26 May
'08
11:54 a.m.
Jeff wrote:
Hello everyone,
I've written some code with the serialization library, using a binary archive and some derived classes. If I compile with -DNDEBUG then the code does stops working. If I remove just this one switch then everything works fine.
What do you mean by "stops working"? When I've experienced diff's between program behavior dependant on NDEBUG it's usually due to using an uninitialized variable. Jeff Flinn