Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (8.11.3/8.11.4) with SMTP id fARNhhm23436 for ; Tue, 27 Nov 2001 18:43:43 -0500 (EST) (envelope-from Inoue@tpf.co.jp) Received: (qmail 12111 invoked from network); 27 Nov 2001 23:43:45 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 27 Nov 2001 23:43:45 -0000 Received: from tpf.co.jp ([126.0.1.68]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id IAA02519; Wed, 28 Nov 2001 08:43:45 +0900 (JST) Message-ID: <3C0425F0.F25F1275@tpf.co.jp> Date: Wed, 28 Nov 2001 08:46:56 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Bruce Momjian CC: Dave Page , "'pgsql-odbc@postgresql.org'" Subject: Re: ODBC changes References: <200111271746.fARHktO26975@candle.pha.pa.us> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/97 X-Sequence-Number: 1198 Bruce Momjian wrote: > > > > This is bad. There should be an md5.c reference in whatever > > > build file you are using. If it isn't there, it is a bug. > > > > Sorry Bruce (& Hiroshi). I build the distributions using the VC++ IDE, not > > the makefile - I didn't notice the addition of md5.c. > > > > On that note, isn't the fact that md5.h is only included if MD5_ODBC is > > defined a bug seeing as md5.h is *where* it's defined? (if you see what I > > mean!). I got it to compile by defining MD5_ODBC in the project settings but > > that does add a couple of ugly warnings about macro redefinitions. > > I believe you are commenting about this in md5.h: > > #ifdef WIN32 > #define MD5_ODBC > #define FRONTEND > #endif > > Yes, not sure this makes sense anymore because Hiroshi added win_md5.c > which defines those and then includes md5.c. Hiroshi, should this part > be removed? #define MD5_ODBC in md5.h is useless from the first because md5.h isn't #included unless MD5_ODBC is #defined. I don't know about FRONTEND. Usually I don't use win32.mak to compile the driver. It seems Dave doesn't use it either. The extra two -D(/D) compile options seem too heavy only for md5.c, so I added win_md5.c to avoid my mistake. Note that md5.c is used directly under *nixes. regards, Hiroshi Inoue