Loading...
Searching...
No Matches
Go to the documentation of this file.
21# define HEREWEARE cout<<flush ; cerr << __FILE__ << " [" << __LINE__ << "] : " << flush ;
22# define INFOS(chain) {HEREWEARE ; cerr << chain << endl ;}
23# define PYSCRIPT(chain) {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;}
27# if defined ( __GNUC__ )
28# define COMPILER "g++" ;
29# elif defined ( __sun )
30# define COMPILER "CC" ;
31# elif defined ( __KCC )
32# define COMPILER "KCC" ;
33# elif defined ( __PGI )
34# define COMPILER "pgCC" ;
36# define COMPILER "undefined" ;
39# ifdef INFOS_COMPILATION
40# error INFOS_COMPILATION already defined
42# define INFOS_COMPILATION {\
45 cout << " [" << __LINE__ << "] : " ;\
46 cout << "COMPILED with " << COMPILER ;\
47 cout << ", " << __DATE__ ; \
48 cout << " at " << __TIME__ << endl ;\
57# define HERE cout<<flush ; cerr << "- Trace " << __FILE__ << " [" << __LINE__ << "] : " << flush ;
58# define SCRUTE(var) HERE ; cerr << #var << "=" << var << endl ;
59# define MESSAGE(chain) {HERE ; cerr << chain << endl ;}
60# define INTERRUPTION(code) HERE ; cerr << "INTERRUPTION return code= " << code << endl ; exit(code) ;
63# define ASSERT(condition) if (!(condition)){ HERE ; cerr << "CONDITION " << #condition << " NOT VERIFIED"<< endl ; INTERRUPTION(1) ;}
66#define REPERE cout<<flush ; cerr << " --------------" << endl << flush ;
67#define BEGIN_OF(chain) {REPERE ; HERE ; cerr << "Begin of: " << chain << endl ; REPERE ; }
68#define END_OF(chain) {REPERE ; HERE ; cerr << "Normal end of: " << chain << endl ; REPERE ; }
76# define MESSAGE(chain)
77# define INTERRUPTION(code)
80# define ASSERT(condition)
84#define BEGIN_OF(chain)