Re: C++ and a stored procudre - Mailing list pgsql-hackers

From Tom Lane
Subject Re: C++ and a stored procudre
Date
Msg-id 19179.1062521926@sss.pgh.pa.us
Whole thread Raw
In response to C++ and a stored procudre  (Czuczy Gergely <phoemix@harmless.hu>)
List pgsql-hackers
Czuczy Gergely <phoemix@harmless.hu> 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 besides the original typedef.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Samuel A Horwitz
Date:
Subject: elog.c comiple problem on AIX 4.2.1