Re: C++ and using C functions - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: C++ and using C functions
Date
Msg-id 3F54EF26.15212.10A41CD@localhost
Whole thread Raw
In response to C++ and using C functions  (Czuczy Gergely <phoemix@harmless.hu>)
Responses Re: C++ and using C functions  (Czuczy Gergely <phoemix@harmless.hu>)
Re: C++ and using C functions  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-hackers
On 2 Sep 2003 at 15:50, Czuczy Gergely wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> i'm using pgsql 7.3.4.
> how can I fix it? i think so, i should modify the header files, i've tried
> to put it into an ``extern "C" {...}'' block, but i didn't solve anything.

Try putting extern C, around include statements for libpq headers.
HTH

ByeShridhar

--
Fresco's Discovery:    If you knew what you were doing you'd probably be bored.



pgsql-hackers by date:

Previous
From: Czuczy Gergely
Date:
Subject: C++ and using C functions
Next
From: Czuczy Gergely
Date:
Subject: Re: C++ and using C functions