Re: [HACKERS] C++ and using C functions

2003-09-05 Thread Mendola Gaetano
"Vince Vielhaber" <[EMAIL PROTECTED]> wrote: > On Tue, 2 Sep 2003, Shridhar Daithankar wrote: > > > 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 trie

Re: [HACKERS] C++ and using C functions

2003-09-02 Thread Vince Vielhaber
On Tue, 2 Sep 2003, Shridhar Daithankar wrote: > 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

Re: [HACKERS] C++ and using C functions

2003-09-02 Thread Andreas Pflug
Czuczy Gergely wrote: -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, na

Re: [HACKERS] C++ and using C functions

2003-09-02 Thread Czuczy Gergely
hello as i said, i've tried to put into into an extern "C" statement, but it didn't solve anything Bye, Gergely Czuczy mailto: [EMAIL PROTECTED] PGP pubkey: http://phoemix.harmless.hu/phoemix.pgp iRCNet: #demoscene ICQ: 8067175 The point is, that geeks are not necessarily the outcasts society

Re: [HACKERS] C++ and using C functions

2003-09-02 Thread Shridhar Daithankar
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 includ

[HACKERS] C++ and using C functions

2003-09-02 Thread Czuczy Gergely
-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