Re: cannot to compile PL/V8 on Fedora 20

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cannot to compile PL/V8 on Fedora 20
Date: 2014-05-12 14:24:59
Message-ID: CAFj8pRDBhLLco2Oa93Dde2oNNUb-FwyWd1e5LTkTX9J6Y4F5Kg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2014-05-12 15:42 GMT+02:00 Andrew Dunstan <andrew(at)dunslane(dot)net>:

>
> On 05/12/2014 07:10 AM, Pavel Stehule wrote:
>
>> Hello
>>
>> I am trying to compile PL/v8 without success. I have Postgres installed
>> via compilation from source code.
>>
>> After make I got errors
>>
>> [pavel(at)localhost plv8-1.4.2]$ make
>> g++ -Wall -O2 -I. -I./ -I/usr/local/pgsql/include/server
>> -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -I/usr/include/libxml2
>> -fPIC -c -o plv8.o plv8.cc
>> plv8.cc:50:56: error: declaration of ‘Datum plv8_call_handler(FunctionCallInfo)
>> throw ()’ has a different exception specifier
>> Datum plv8_call_handler(PG_FUNCTION_ARGS) throw();
>> ^
>> plv8.cc:43:7: error: from previous declaration ‘Datum plv8_call_handler(
>> FunctionCallInfo)’
>> PG_FUNCTION_INFO_V1(plv8_call_handler);
>>
>
> This looks like a result of commit <http://git.postgresql.org/
> gitweb/?p=postgresql.git;a=commitdiff;h=e7128e8dbb305059c30ec085461297
> e619bcbff4> Maybe we need a way of telling the preprocessor to suppress
> the generation of a prototype?
>

I got same result with tarball 9.2.4 released 2014-04-04

Pavel

>
> cheers
>
> andrew
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-05-12 14:31:04 Re: cannot to compile PL/V8 on Fedora 20
Previous Message Heikki Linnakangas 2014-05-12 13:56:51 Re: Proposal for CSN based snapshots