Thread: CVS ODBC does not compile

CVS ODBC does not compile

From
Bruce Momjian
Date:
The current CVS tree does not compile ODBC.  All sorts of failure due to
const and undefined variables.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [HACKERS] CVS ODBC does not compile

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The current CVS tree does not compile ODBC.  All sorts of failure due to
> const and undefined variables.

I just got a ton of errors in odbc too, trying to build it with HP's cc.
I have not tried to build ODBC at all lately, so I'm not sure
how new the problem is.

            regards, tom lane

Re: [HACKERS] CVS ODBC does not compile

From
Bruce Momjian
Date:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > The current CVS tree does not compile ODBC.  All sorts of failure due to
> > const and undefined variables.
>
> I just got a ton of errors in odbc too, trying to build it with HP's cc.
> I have not tried to build ODBC at all lately, so I'm not sure
> how new the problem is.

Don't bother.  Some are const prototype, non-const definition, but
others are undefined variable and possible variable used but not
initialized.  I think we have to wait for Hiroshi.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [HACKERS] CVS ODBC does not compile

From
"Hiroshi Inoue"
Date:
> -----Original Message-----
> From: Bruce Momjian
>
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > The current CVS tree does not compile ODBC.  All sorts of
> failure due to
> > > const and undefined variables.
> >
> > I just got a ton of errors in odbc too, trying to build it with HP's cc.
> > I have not tried to build ODBC at all lately, so I'm not sure
> > how new the problem is.
>
> Don't bother.  Some are const prototype, non-const definition, but
> others are undefined variable and possible variable used but not
> initialized.  I think we have to wait for Hiroshi.

OK I removed the errors on cygwin port and will commit
the fix soon. However I couldn't check it on linux box now
unfortunately. I'm very happy if you could check it on your
environment.

regards,
Hiroshi Inoue


Re: [HACKERS] CVS ODBC does not compile

From
Bruce Momjian
Date:
> > Don't bother.  Some are const prototype, non-const definition, but
> > others are undefined variable and possible variable used but not
> > initialized.  I think we have to wait for Hiroshi.
>
> OK I removed the errors on cygwin port and will commit
> the fix soon. However I couldn't check it on linux box now
> unfortunately. I'm very happy if you could check it on your
> environment.

OK, I will wait for your commit.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: [HACKERS] CVS ODBC does not compile

From
Bruce Momjian
Date:
> > -----Original Message-----
> > From: Bruce Momjian
> >
> > > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > > The current CVS tree does not compile ODBC.  All sorts of
> > failure due to
> > > > const and undefined variables.
> > >
> > > I just got a ton of errors in odbc too, trying to build it with HP's cc.
> > > I have not tried to build ODBC at all lately, so I'm not sure
> > > how new the problem is.
> >
> > Don't bother.  Some are const prototype, non-const definition, but
> > others are undefined variable and possible variable used but not
> > initialized.  I think we have to wait for Hiroshi.
>
> OK I removed the errors on cygwin port and will commit
> the fix soon. However I couldn't check it on linux box now
> unfortunately. I'm very happy if you could check it on your
> environment.

Looks great. Compiles cleanly.  I moved updateCommons() into the Win32
block so I don't get a "function not used" warning.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026