Re: cannot compile CVS HEAD

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cannot compile CVS HEAD
Date: 2009-12-02 10:29:05
Message-ID: 4B164171.2050305@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-12-02 10:32:59 Re: cannot compile CVS HEAD
Previous Message Stefan Kaltenbrunner 2009-12-02 09:56:41 Re: [PATCH] Windows x64