DGtal  1.0.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  void beforeMain (void) __attribute__((constructor));
51  void beforeMain (void)
52  {
53  feenableexcept ( FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW );
54  }
55 #endif
56 #endif
57 
58  TraceWriterTerm traceWriterTerm(std::cerr);
59  Trace trace(traceWriterTerm);
60 }
61 // //
Trace trace
Definition: Common.h:144
TraceWriterTerm traceWriterTerm(std::cerr)
Definition: Common.h:143
DGtal is the top-level namespace which contains all DGtal functions and types.