Re: [HACKERS] TPRINTF in trace.h - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] TPRINTF in trace.h
Date
Msg-id 199808311748.NAA23979@candle.pha.pa.us
Whole thread Raw
In response to TPRINTF in trace.h  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
Responses Re: [HACKERS] TPRINTF in trace.h  (Massimo Dal Zotto <dz@cs.unitn.it>)
List pgsql-hackers
> The recent changes in the tracing code are unfortunately not portable.
>
> #define PRINTF(args...)                 tprintf(TRACE_ALL, args)
>
> is not accepted by all compilers. Is there another way to express this ?
> Is my AIX xlc Version 3.1.4 the only one with this problem ?

Yikes, that is certainly not standard C.  I have never seen that before.
Looks like a GNU-ism.  I nice one, but still a GNU-ism.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: "Thomas A. Szybist"
Date:
Subject: Re: [HACKERS] Core dump in regression tests.
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Core dump in regression tests.