Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eBCDsrm70350 for ; Tue, 12 Dec 2000 08:54:53 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46] (may be forged)) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBBIpHm49629; Mon, 11 Dec 2000 13:51:17 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id NAA15736; Mon, 11 Dec 2000 13:50:16 -0500 (EST) From: Bruce Momjian Message-Id: <200012111850.NAA15736@candle.pha.pa.us> Subject: Re: [PATCHES] ODBC Driver patch In-Reply-To: "from Peter Eisentraut at Dec 11, 2000 06:20:20 pm" To: Peter Eisentraut Date: Mon, 11 Dec 2000 13:50:16 -0500 (EST) CC: Michael Fork , pgsql-interfaces@postgresql.org, pgsql-patches@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200012/83 X-Sequence-Number: 421 > 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