Macro From Hell - Mailing list pgsql-hackers

From David Hartwig
Subject Macro From Hell
Date
Msg-id 35F4586F.B2D1F9F6@bellatlantic.net
Whole thread Raw
Responses Re: [HACKERS] Macro From Hell
Re: [HACKERS] Macro From Hell
List pgsql-hackers
This is a very recent addition at line 664 of copy.c   It will not
compile on AIX 4.1   Help!

gmake[2]: Entering directory `/gnu/postgresql-6.4f/src/backend/commands'

xlc -I../../include -I../../backend   -qchars=signed -qmaxmem=8192
-qhalt=w -qsrcmsg -qcheck=divzero -I/usr/local/include  -I..   -c
 copy.c -o copy.o
      664 |                                                 ptr = (
((attr[i]->attlen) < sizeof(int32)) ? ( ((attr[i]->attlen) == -1
) ? ( ((attr[i]->attalign) == 'd') ? (((long)(ptr) + (sizeof (double) -
1)) & ~(sizeof (double) -1)) : (((long)(ptr) + (sizeof (int)
 - 1)) & ~(sizeof (int) -1)) ) : ( ((attr[i]->attlen) == sizeof(char)) ?
( (ptr) ) : ( (void)((char) 1), (((long)(ptr) + (sizeof (sh
ort) - 1)) & ~(sizeof (short) - 1)) ) ) ) : ( ((attr[i]->attlen) ==
sizeof(int32)) ? ( (((long)(ptr) + (sizeof (int) - 1)) & ~(sizeo
f (int) -1)) ) : ( (void)((char) 1), ((attr[i]->attalign) == 'd') ?
(((long)(ptr) + (sizeof (double) - 1)) & ~(sizeof (double) -1))
: (((long)(ptr) + (sizeof (long) - 1)) & ~(sizeof (long) -1)) ) ) );


........................................................................................................................


....................................................................................................................................

.......................................................................a..........

a - 1506-226 (S) The ":" operator is not allowed between "char*" and
"unsigned long".
gmake[2]: *** [copy.o] Error 1



pgsql-hackers by date:

Previous
From: David Hartwig
Date:
Subject: Re: [INTERFACES] Re: DELETE FROM TABLE doesn't work (AGAIN)
Next
From: Stephen Davies
Date:
Subject: Re: [INTERFACES] Re: DELETE FROM TABLE doesn't work (AGAIN)