libtime++: Date and time calculation

◆ time_util_warning_n__()

int time_util_warning_n__ ( char *  caller,
char *  text,
time_kernel::integer n,
time_kernel::ftnlen  caller_len,
time_kernel::ftnlen  text_len 
)

Definition at line 67 of file cxxtime_util_warning.cc.

References libtime::Warning::suppress_any, and libtime::Warning::suppress_year.

71 {
72  std::string callerstring, textstring;
73  int i;
75  {
76  for (i=0; i<caller_len; i++) { callerstring += *(caller++); }
77  for (i=0; i<text_len; i++) { textstring += *(text++); }
78  std::string message="ERROR ("+callerstring+"): "+textstring;
79  i=(int)*n;
80  std::cerr << message << " " << i << std::endl;
81  }
82  return(0);
83 } /* time_util_warning_n__ */
static bool suppress_year
Definition: libtime++.h:646
static bool suppress_any
Definition: libtime++.h:647