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

From Greg Stark
Subject Re: [pgsql-hackers-win32] snprintf causes regression tests
Date
Msg-id 8764zmhkvy.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: [pgsql-hackers-win32] snprintf causes regression tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests
Next
From: Shachar Shemesh
Date:
Subject: Moving a project from gborg to pgfoundry?