From: | Yoshiyuki Asaba <y-asaba(at)sraoss(dot)co(dot)jp> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Compile error with MSVC |
Date: | 2007-07-04 05:12:28 |
Message-ID: | 20070704.141228.57446947.y-asaba@sraoss.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Hi,
I tried to compile using Visual C++ 2005. But I got the following
errors.
.\src\backend\parser\keywords.c(22) : fatal error C1083: 'parser/parse.h': No such file or directory
I saw src/tools/msvc/pgbison.bat. Why does it copy
src/backend/parser/parser.h to src/include/parser directory?
src/tools/msvc/pgbison.bat:14
if "%1" == "src\backend\parser\gram.y" call :generate %1 src\backend\parser\gram.c src\include\parser\parse.h
I think we should add "src/backend" directory to include path. Because
if gram.c is newer than gram.y, include/parser/parse.h does not
copied.
Then, I saw clean.bat. It deletes the files generated by Bison. I
think we don't have to delete these files.
The attached patch for HEAD is fixed them.
Regards,
--
Yoshiyuki Asaba
y-asaba(at)sraoss(dot)co(dot)jp
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 4.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jacob Rief | 2007-07-04 12:52:43 | Re: SPI-header-files safe for C++-compiler |
Previous Message | Matthew T. O'Connor | 2007-07-04 02:51:37 | Re: Still recommending daily vacuum... |