Re: [HACKERS] C++ and a stored procudre

2003-09-02 Thread Tom Lane
Czuczy Gergely <[EMAIL PROTECTED]> writes: > the code is this: > text *src; > void *tmp; > src = (text*)tmp; > and the error message: > error: parse error before `)' token > (at (text*_)_) The only thing that comes to mind is you've got "text" defined as a macro, or some other meaning besid

[HACKERS] C++ and a stored procudre

2003-09-02 Thread Czuczy Gergely
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello once again :) the code is this: text *src; void *tmp; src = (text*)tmp; and the error message: error: parse error before `)' token (at (text*_)_) originally i've tried to use the macro PG_GETARG_TEXT_P(0), but when i've got this message,