Menu

#190 Inconsistent usage of COMMON_STD_EXCEPTION define

Anything_Else
open
5
2004-10-30
2004-07-15
No

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).

Discussion

  • David Sugar

    David Sugar - 2004-10-30

    Logged In: YES
    user_id=217

    This should now be fixed....

     
  • David Sugar

    David Sugar - 2004-10-30
    • assigned_to: nobody --> dyfet
    • status: open --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.