Re: MSVC build scripts status

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: MSVC build scripts status
Date: 2007-09-25 12:13:05
Message-ID: 20070925121305.GC25517@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 25, 2007 at 11:07:27AM +0200, Magnus Hagander wrote:
> Oh, and I'm now seeing failures on my dev box with ECPG on the MSVC build
> using "the old way" (.bat-files):
> array_of_struct.c
> array_of_struct.pgc(26): error C2065: 'customer' : undeclared identifier
> array_of_struct.pgc(26): error C2146: syntax error : missing ';' before identifier 'custs1'
> array_of_struct.pgc(26): error C2065: 'custs1' : undeclared identifier
> array_of_struct.pgc(26): error C2109: subscript requires array or pointer type
> array_of_struct.pgc(27): error C2065: 'cust_ind' : undeclared identifier
> array_of_struct.pgc(27): error C2146: syntax error : missing ';' before identifier 'inds'
> array_of_struct.pgc(27): error C2065: 'inds' : undeclared identifier
> array_of_struct.pgc(27): error C2109: subscript requires array or pointer type
> array_of_struct.pgc(33): error C2275: 'customer2' : illegal use of this type as an expression
> array_of_struct.pgc(32) : see declaration of 'customer2'

I do not have a Windows development setup around, so I never tried
myself but this looks strange. Could anyone please send me the .c file?
There are two possible reason: Either ecpg creates different code on
Windows, or the code that works on all Unix systems does not compile on
Windows.

Michael

P.S.: Is there some documentation available on how to set up a Windows
build system? Takes less time when you know all software to install
beforehand and if you get this software at all.
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2007-09-25 12:20:34 Re: MSVC build scripts status
Previous Message Magnus Hagander 2007-09-25 12:10:38 Re: MSVC build scripts status