From: | Czuczy Gergely <phoemix(at)harmless(dot)hu> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | C++ and using C functions |
Date: | 2003-09-02 13:50:57 |
Message-ID: | Pine.LNX.4.44.0309021548010.6947-100000@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello
i've tried to write a stored function in C++, using the libpq library, but
the g++(3.3.1) was unable to pass through the headers. there are a lot's
of reserved words used in structs as member names, such as delete,using,
namespace, and so on.
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.
any ideas?
Bye,
Gergely Czuczy
mailto: phoemix(at)harmless(dot)hu
PGP pubkey: http://phoemix.harmless.hu/phoemix.pgp
iRCNet: #demoscene ICQ: 8067175
The point is, that geeks are not necessarily the outcasts
society often believes they are. The fact is that society
isn't cool enough to be included in our activities.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/VKBDbBsEN0U7BV0RAkJPAKCg2/0JJEy+hhV7r3zcBAgYbWFRWQCg83/X
kj5EXUhpsIiObE5DOn/jsgc=
=H3YA
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2003-09-02 13:57:34 | Re: C++ and using C functions |
Previous Message | Tommi Maekitalo | 2003-09-02 13:05:55 | Re: TCP/IP with 7.4 beta2 broken? |