DGtal  1.1.0
Common.cpp
1 
31 #include "DGtal/base/Common.h"
34 
35 #include <iostream>
36 
37 
39 // class Common
41 
45 namespace 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 // //
DGtal::trace
Trace trace
Definition: Common.h:150
DGtal::Trace
implementation of basic methods to trace out messages with indentation levels.
Definition: Trace.h:74
DGtal::traceWriterTerm
TraceWriterTerm traceWriterTerm(std::cerr)
Definition: Common.h:149
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition: ClosedIntegerHalfPlane.h:49