Re: [HACKERS] I can't compile cvs snapshot ... - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] I can't compile cvs snapshot ...
Date
Msg-id 199905260108.KAA01177@ext16.sra.co.jp
Whole thread Raw
In response to I can't compile cvs snapshot ...  (David Sauer <davids@orfinet.cz>)
Responses Re: [HACKERS] I can't compile cvs snapshot ...  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> The problem is with file conv.c in backend/utils/mb/
> ....
> big52mic(unsigned char *big5, unsigned char *p, int len)
> 
>         unsigned short c1;
>         unsigned short big5buf,
>                                 cnsBuf;
>        unsigned char lc;
>         char          bogusBuf[2];
>         int                i;
> 
>         while (len > 0 && (c1 = *big5++))
>     {
>           if (c1 <= 0x007f U)
>                                 ^^^^ my egcs 1.1.2 on linux(rh6.0) doesn't
>                                      accept this space. Should be
>                                      (probably)  0x007fU

Before it was "0x007fU" and now is "0x007f U". Probably pgindent did
something.

>This seems like the intent, and pgindent doesn't like the old format.

Does this mean we are not allowed to use "U"? I think this is leagal
according to the standard C grammer.
---
Tatsuo Ishii



pgsql-hackers by date:

Previous
From: "Thomas A. Szybist"
Date:
Subject: Re: [HACKERS] Problem in S_LOCK?
Next
From: Thomas Lockhart
Date:
Subject: Re: supported platform list