Re: [HACKERS] TPRINTF in trace.h

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: andreas(dot)zeugswetter(at)telecom(dot)at (Andreas Zeugswetter)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] TPRINTF in trace.h
Date: 1998-08-31 17:48:52
Message-ID: 199808311748.NAA23979@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-08-31 17:49:10 Re: [HACKERS] flock patch breaks things here
Previous Message Bruce Momjian 1998-08-31 17:47:48 Re: [HACKERS] Core dump in regression tests.