DGtal 1.4.0
Loading...
Searching...
No Matches
Common.cpp
1
32#include "DGtal/base/Common.h"
34
35#include <iostream>
36
37
39// class Common
41
45namespace DGtal
46{
47
48#ifndef NDEBUG
49#ifdef __linux__
50#ifdef DGTAL_ENABLE_FLOATING_POINT_EXCEPTIONS
51 void beforeMain (void) __attribute__((constructor));
52 void beforeMain (void)
53 {
54 feenableexcept ( FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW );
55 }
56#endif
57#endif
58#endif
59
60 TraceWriterTerm traceWriterTerm(std::cerr);
62}
63// //
implementation of basic methods to trace out messages with indentation levels.
Definition Trace.h:74
DGtal is the top-level namespace which contains all DGtal functions and types.
Trace trace
Definition Common.h:153
TraceWriterTerm traceWriterTerm(std::cerr)
Definition Common.h:152