Re: New CVS doesn't compile - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: New CVS doesn't compile
Date
Msg-id 3B822107.65D186A3@tpf.co.jp
Whole thread Raw
In response to New CVS doesn't compile  ("Johann Zuschlag" <zuschlag2@online.de>)
Responses Re: New CVS doesn't compile  ("Johann Zuschlag" <zuschlag2@online.de>)
List pgsql-odbc
I wrote:
>
> Tom Lane wrote:
> >
> > Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > > Johann Zuschlag wrote:
> > >> I just retrieved the new CVS. When I try to compile it (VC++ 5.0), I get the following errors:
> >
> > > Hmm you don't seem to be linking odbcapi30.obj.
> >
> > Which is unsurprising considering that the currently-committed
> > odbc/GNUmakefile doesn't call for it.
>
> He is compiling under Windows because he uses VC++.
> I may have taken a mistake in changing win32.mak too.
>

nmake /f win32.mak  seems to work here.
Johann, please add odbcapi.c and odbcapi.c to your project
if you are working on your own project.
Oh please don't forget to download the latest snapshot
before doing it.

> > I just retrieved current CVS of interfaces/odbc, and I can report that
> > it doesn't even begin to compile on Unix: there are literally thousands
> > of lines of error reports.  The major problem seems to be that there is
> > no definition anywhere for SQLRETURN, so pgapifunc.h is completely broken.
>
> Oops sorry, I didn't think someone would try to complie on UNIX
> at once. OK I would fix the compile error.

I've just fixed those errors at least on linux and cygwin
though I don't guarantee the driver to work in reality.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: "Henshall, Stuart - WCP"
Date:
Subject: RE: Float Percision with MS Access 97
Next
From: Nick Kennedy
Date:
Subject: Double-quoted strings