Re: SPI-header-files safe for C++-compiler

From: "Jacob Rief" <jacob(dot)rief(at)gmx(dot)at>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: SPI-header-files safe for C++-compiler
Date: 2007-07-04 12:52:43
Message-ID: 20070704125243.77820@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane writes:
> It makes sense for libpq to be able to execute within a C++ application.
> As was already debated, it's not nearly as clear that it makes sense to
> try to use C++ for backend modules.

That correct. But I have to define some types using external libraries.

> In any case, you are not helping here. I asked for a technical solution
> to a specific problem, and you are giving me political arguments.

How could a technical solution look like. Shall I write a test-programm to
compile those header-files with g++ and put AC_CHECK_PROGS into
configure.in to check if the build-system has installed a C++-compiler.
Isn't that too exaggerated? Who wants to install a C++-compiler just to
make a dummy compilation using a few header-files?

Regards, Jacob
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2007-07-04 12:59:46 Re: SPI-header-files safe for C++-compiler
Previous Message Yoshiyuki Asaba 2007-07-04 05:12:28 Compile error with MSVC