Re: [pgsql-hackers-win32] snprintf causes regression tests

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests
Date: 2005-03-20 06:49:37
Message-ID: 8764zmhkvy.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:

> so the effect is:
>
> #define pg_snprintf libintl_snprintf

That's not how CPP works.

> In fact, in this example, the system complains about a missing X3 symbol:
>
> #define X1 X2
> #define X2 X3

In this case any occurrence of X1 replaced by X2 but then the result is
rescanned for macros and X2 is turned into X3.

--
greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2005-03-20 08:06:44 Moving a project from gborg to pgfoundry?
Previous Message Bruce Momjian 2005-03-20 05:11:18 Re: [pgsql-hackers-win32] snprintf causes regression tests

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2005-03-20 13:42:24 Re: explain analyze timings
Previous Message Bruce Momjian 2005-03-20 05:11:18 Re: [pgsql-hackers-win32] snprintf causes regression tests

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2005-03-20 13:42:24 Re: explain analyze timings
Previous Message Bruce Momjian 2005-03-20 05:11:18 Re: [pgsql-hackers-win32] snprintf causes regression tests