"Tim Bunce" <[EMAIL PROTECTED]> writes:

> On Wed, Nov 27, 2002 at 12:46:54AM -0700, Jason E. Stewart wrote:

> > The following fixes it:
> > 
> >     ST(0) = (SV*) dbd_db_pg_notifies(dbh, imp_dbh);
> > 
> > I committed it for you. I'll let a better C programmer explain why
> > this works.
> 
> You've just brushed the issue under he carpet. Always try to avoid
> using casts unless you know why you're doing so and that it's the
> right fix.

Thanks.

> In this case the problem is probably that when compiling Pg.xs
> (actually Pc.c) the compiler has not seen a declaration of the
> dbd_db_pg_notifies() function. Probably needs to be in a header file.

mis-spelled in header.

Thanks,
jas.

Reply via email to