Re: cannot compile CVS HEAD - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: cannot compile CVS HEAD
Date
Msg-id 4B164171.2050305@enterprisedb.com
Whole thread Raw
In response to cannot compile CVS HEAD  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: cannot compile CVS HEAD  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule wrote:
> I have a problem with compilation:
> 
> make[4]: Entering directory `/home/pavel/src/pgsql/src/backend/utils/adt'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -fwrapv -I../../../../src/include -D_GNU_SOURCE   -c -o int.o int.c
> int.c: In function ‘int4xor’:
> int.c:1209: error: ‘arg2’ undeclared (first use in this function)
> int.c:1209: error: (Each undeclared identifier is reported only once
> int.c:1209: error: for each function it appears in.)
> int.c:1207: warning: unused variable ‘arg20’
> make[4]: *** [int.o] Error 1

That's bizarre. Works fine for me. Looks like the local variable is
called "arg20" instead of "arg2" in your workspace for some reason. You
sure you didn't accidentally fumble that?

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: [PATCH] Windows x64
Next
From: Pavel Stehule
Date:
Subject: Re: cannot compile CVS HEAD