mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
6881bc3814
Annotations. The branches and tags directory are empty, since I couldn't svnadmin import a repostitory dump. Many earlier versions exist, though, and if you want the full archive, just let me know and I'll send you the svnadmin dump of my full C++ Annotations archive. Frank B. Brokken <f.b.brokken@rug.nl> git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
20 lines
899 B
Text
20 lines
899 B
Text
OBSOLETE, not included anymore in the final document:
|
|
|
|
The tt(Gnu g++) compiler requires a special flag to compile sources in which
|
|
exceptions are used. It is quite possible that other compilers require similar
|
|
flags, but that hasn't been investigated by us.
|
|
|
|
If the keywords tt(throw, try) or tt(catch) are used in a sourcetext, or if a
|
|
sourcefile contains a function calling another function which may throw an
|
|
exception the
|
|
centt(-fhandle-exceptions)
|
|
must be used when these sources are compiled.
|
|
|
|
The easy way-out would of course be to include the tt(-fhandle-exceptions) all
|
|
the time, but it appears as though this doesn't always work properly,
|
|
sometimes resulting in linker-problems.
|
|
|
|
Fortunately it is usually well known whether a function may throw exceptions,
|
|
either directly or indirectly, and so the need for the
|
|
centt(-fhandle-exceptions)
|
|
flag is also usually well known.
|