View Single Post

   
  #2 (permalink)  
Old 04-11-2008, 03:08 AM
Greg Stark
 
Posts: n/a
Default Re: [pgsql-hackers-win32] snprintf causes regression tests

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


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote