Line data Source code
1 : // This file (no_std.cc) was created by Ron Rechenmacher <ron@fnal.gov> on
2 : // Jul 3, 2014. "TERMS AND CONDITIONS" governing this file are in the README
3 : // or COPYING file. If you do not have such a file, one can be obtained by
4 : // contacting Ron or Fermi Lab in Batavia IL, 60510, phone: 630-840-3000.
5 : // $RCSfile: no_std.cc,v $
6 : // rev="$Revision: 1784 $$Date: 2026-10-09 13:51:46 -0500 (Fri, 09 Oct 2026) $";
7 :
8 : // comfirm there are no warning when TRACE_LOG_FUNCTION is, well, something we may not expect (e.g. blank)
9 :
10 : #include <sys/time.h> // timeval
11 0 : void trace_ignore(timeval *, ...) {}
12 : #define TRACE_LOG_FUNCTION trace_ignore // no stdout or stderr (depending on TRACE_PRINT_FD
13 : #include "TRACE/trace.h" // TRACE
14 :
15 : int
16 : //main( int argc
17 : // , char *argv[] )
18 0 : main()
19 : {
20 0 : TRACE(0, "hello - hopefully no compile warnings %d %.1f %d", 1, 1.5, 2);
21 0 : return (0);
22 : } // main
|