libtime++: Date and time calculation

◆ time_util_warning__()

int time_util_warning__ ( char *  caller,
char *  text,
time_kernel::ftnlen  caller_len,
time_kernel::ftnlen  text_len 
)

Definition at line 51 of file cxxtime_util_warning.cc.

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

54 {
55  std::string callerstring, textstring;
56  int i;
58  {
59  for (i=0; i<caller_len; i++) { callerstring += *(caller++); }
60  for (i=0; i<text_len; i++) { textstring += *(text++); }
61  std::string message="ERROR ("+callerstring+"): "+textstring;
62  std::cerr << message << std::endl;
63  }
64  return(0);
65 } /* time_util_warning__ */
static bool suppress_any
Definition: libtime++.h:647
static bool suppress_normal
Definition: libtime++.h:645