Compilation failure with nmake since 503bb09

Michael Paquier <[email protected]>
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <CAB7nPqTsM78_bEG56xEUYsSFicXK=ikdJLsLtjLufSpsAdrVSA@mail.gmail.com>
Hi all,

With the latest code of Postgres ODBC, I am seeing compilation
failures of this kind:
c:\Users\ioltas\git\pgodbc\connection.h(27) : fatal error C1083:
Cannot open include file: 'pqexpbuffer.h': No such file or directory

It seems to me that 503bb09 forgot to update win64.mak to include
$(PG_INC)/internal in the paths to scan for headers. Please see
attached a patch.

Regards,
-- 
Michael


-- 
Sent via pgsql-odbc mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
pgodbc-nmake-failure.patch (application/octet-stream, 353 B)
diff --git a/win64.mak b/win64.mak
index 87dda83..b28ad79 100755
--- a/win64.mak
+++ b/win64.mak
@@ -105,7 +105,7 @@ ADD_DEFINES = $(ADD_DEFINES) /Wp64
 !ENDIF
 
 !IF "$(PG_INC)" != ""
-INC_OPT = $(INC_OPT) /I "$(PG_INC)"
+INC_OPT = $(INC_OPT) /I "$(PG_INC)" /I "$(PG_INC)\internal"
 !ENDIF
 !IF "$(ADD_INC)" != ""
 INC_OPT = $(INC_OPT) /I "$(ADD_INC)"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.