The COMMON_STD_EXCEPTION define is used to guard
against systems which don't support std::exception.
The only way this define ever gets enabled is if
exception.h gets included. However, not all files
which use the COMMON_STD_EXCEPTION define actually
include exception.h. This can be shown by compiling
with this define enabled by the compiler. some files
(in 1.1.9, semaphore.cpp and mutex.cpp) will fail to
compile. i think the includes have changed in 1.2.3,
so different files will probably fail to compile
(unconfirmed). Either all files which use the
COMMON_STD_EXCEPTION define should be updated to
include exception.h (which will still leave the problem
open for future changes), or this define should be
added to config.h.in (better solution as it is always
included in every file).
Log in to post a comment.