I am compiling a project in Xcode where MySQL ++ is enabled and associated with it. For some reason, I keep getting the following compiler error:
'assert has not been declared in this area
derived from cpool.h, a header file that is part of MySQL ++. Does anyone know why this is caused?
EDIT: For reference, MySQL ++ was installed through Macports.
, "assert.h" . , assert undefined - .
: , assert.h , , , , , .. undefined.
cpool.h , , assert.h , , cpool.h. , cpool.h .
, "assert.h", < assert.h > .
, gstreamer Mac OSX. , gstreamer include directory (/Library/Frameworks/GStreamer.framework/Headers) "assert.h", assert.h. -I/Library/Frameworks/GStreamer.frameworks/Headers , , "#include < assert.h > ", gstreamer. , .
++ cassert .
#include <cassert>