Re: cannot to compile PL/V8 on Fedora 20 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: cannot to compile PL/V8 on Fedora 20
Date
Msg-id CAFj8pRDkYAv4YAkXcnemr76njDRKs4+NUj2ZYMgi-_RZ3x-fGg@mail.gmail.com
Whole thread Raw
In response to Re: cannot to compile PL/V8 on Fedora 20  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers



2014-05-12 13:45 GMT+02:00 Michael Paquier <michael.paquier@gmail.com>:
On Mon, May 12, 2014 at 8:10 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> 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();
> Some ideas how to fix it?
It seems that you are compiling on the outdated branch staticlink. On
either master or r1.4 it will work properly on Fedora 20, at least it
works for me.

How I can check it?

I had same bug with scientific linux and I expected so this problem will be solved on new Fedora. On second computer on newer system I had same problem.

Some problem can be in my g++ environment - it is default Fedora.

Pavel
 
--
Michael

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: cannot to compile PL/V8 on Fedora 20
Next
From: Tom Lane
Date:
Subject: Re: wrapping in extended mode doesn't work well with default pager