Re: MSVC build scripts status

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: meskes(at)postgresql(dot)org, 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:58:15
Message-ID: 20070925125815.GB12627@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 25, 2007 at 02:20:34PM +0200, Magnus Hagander wrote:
> Irrk. The C file is very wrong indeed. Here's the relevant part where it
> shoudl be declaring 'customer':
> /* exec sql type customer is struct { #line 12 "array_of_struct.pgc" struct varchar_name_12 { int len; char arr[ 50 ]; } name ; #line 13 "array_of_struct.pgc" int phone ; } */ #line 14 "array_of_struct.pgc"
>
>
> (all on one line, in case the MUA wraps it)

On Linux it's wrapped. But the new line problem is not what's breaking
the compiler.

> Seems like the entire definition of the struct is commented out?

This is indeed the problem. I attach the diff so you see that instead of
typedef'ing the struct it just comments it out.

Michael
--
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!

Attachment Content-Type Size
aos.diff text/x-diff 839 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2007-09-25 13:00:40 Re: Thread-safe PREPARE in ecpg
Previous Message Magnus Hagander 2007-09-25 12:20:34 Re: MSVC build scripts status