Re: ODBC Driver patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: ODBC Driver patch
Date
Msg-id 200012111850.NAA15736@candle.pha.pa.us
Whole thread Raw
In response to Re: ODBC Driver patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ODBC Driver patch
List pgsql-patches
> peter ~/pgsql/src/interfaces/odbc$ make
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
> -I/usr/kerberos//include -I../../../src/include -I. -DHAVE_CONFIG_H
> -DODBCINSTDIR='"/home/peter/pg-install/etc/postgresql"'  -c -o info.o
> info.c -MMD
> In file included from info.c:29:
> isql.h:27:41: warning: "ODBCVER" redefined
> psqlodbc.h:37:1: warning: this is the location of the previous definition
> info.c:2898:46: missing terminating " character
> info.c:2816:24: unterminated #if
> make: *** [info.o] Error 1
>
> Try again.

OK, I have fixed the info.c compile.  I also used #ifndef to supress
warnings about the ODBCVER version being redefined.  Seems we define
versions 200 and 250 in the source.  No idea why, but it looks wrong to
me.


--
  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

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ODBC Driver patch
Next
From: Michael Fork
Date:
Subject: Re: ODBC Driver patch