BUG #3909: src\tools\msvc\clean.bat clears parse.h file

From: "Pavel Golub" <pavel(at)gf(dot)microolap(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3909: src\tools\msvc\clean.bat clears parse.h file
Date: 2008-01-28 18:27:05
Message-ID: 200801281827.m0SIR5ER089604@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


The following bug has been logged online:

Bug reference: 3909
Logged by: Pavel Golub
Email address: pavel(at)gf(dot)microolap(dot)com
PostgreSQL version: 8.3RC2
Operating system: WinXP
Description: src\tools\msvc\clean.bat clears parse.h file
Details:

Executing clean.bat from src\tools\msvc clears src\backend\parser\parse.h

However, in help stated:

"Bison and Flex are required to build from CVS, but not required when
building from a release file."

Also in src\backend\parser\Makefile we have comments:

"# gram.c, parse.h, and scan.c are in the distribution tarball, so they
# are not cleaned here."

Because of this bug there is no opportunity to build PostgreSQL by Visual
Studio without using Bison.

So, may be as a workaround we may use such scheme:
1. We have "src\backend\parser\parse.h.release" (or whatever postfix) file
2. GenerateFiles() in Solution.pm must check if Bison is available. If so
then generate parse.h by Bison, else copy parse.h.release as parse.h
3. When clean will be called parse.h will be deleted, but not
parse.h.release

Regards

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Koczan 2008-01-28 20:11:51 Re: BUG #3902: Segmentation faults using GSSAPI authentication
Previous Message David E. Wheeler 2008-01-28 18:13:52 Re: BUG #3905: configure cannot find ossp UUID libs and/or includes

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig 2008-01-28 18:44:58 Re: [PATCHES] Proposed patch: synchronized_scanning GUC variable
Previous Message Bruce Momjian 2008-01-28 17:47:42 Re: [PATCH] Add size/acl information when listing databases