Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group