From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Maurizio <maurizio(dot)c(at)libero(dot)it> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: 7.1 beta 3 CHANGES FOR QNX |
Date: | 2001-02-09 15:14:12 |
Message-ID: | 200102091514.KAA02479@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
OK, I have removed the termios.h, and thc ECHO hack from pgc.l.
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi,
> I have deleted the include of termios.h in include/port/qnx4.h.
> Then I recompiled pgsql and I have compiled a program with ecpg.
>
> All seem to work right.
>
> Thanks
> Maurizio
>
> .
> ----- Original Message -----
> From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> To: "Maurizio" <maurizio(dot)c(at)libero(dot)it>
> Cc: <pgsql-hackers(at)postgresql(dot)org>; "Bruce Momjian"
> <pgman(at)candle(dot)pha(dot)pa(dot)us>; "Kardos, Dr. Andreas" <kardos(at)repas-aeg(dot)de>
> Sent: Tuesday, February 06, 2001 4:08 AM
> Subject: Re: [HACKERS] 7.1 beta 3 CHANGES FOR QNX
>
>
> > "Maurizio" <maurizio(dot)c(at)libero(dot)it> writes:
> > > ECHO is defined in the following QNX gcc include files :
> > > termio.h
> > > termios.h
> > > If ECHO was not redefined in pgc.l you can't compile in embedded SQL C.
> >
> > Well, my question still stands: why aren't the other four flex outputs
> > also broken? They all use ECHO.
> >
> > In any case, I'd prefer to see this fixed by not including <termios.h>
> > rather than hacking up the .l files. Surely it doesn't need to be
> > included everywhere, as src/include/port/qnx4.h is now causing to
> > happen. In fact, it looks to me like qnx4.h probably includes and
> > defines a lot more than it needs to; would you experiment with stripping
> > it down?
> >
> > > I am also checking for another problem.
> > > I have some errors if I compile pgsql without change the typedef Size in
> > > c.h.
> > > To succesfully compile pgsql I have changed typedef Size in int insteed
> > > size_t.
> >
> > That strikes me as *horribly* dangerous. There is too much code whose
> > behavior might change in unpleasant ways if Size becomes a signed type.
> > Please explain what problems you are seeing that make you think this is
> > a good idea.
> >
> >
> > Andreas, the QNX port is largely your work IIRC. What do you think of
> > these issues? Have you tried 7.1beta on QNX?
> >
> > regards, tom lane
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2001-02-09 16:35:26 | Re: Syslog and pg_options (for RPMs) |
Previous Message | Maurizio | 2001-02-09 14:03:23 | Re: 7.1 beta 3 CHANGES FOR QNX |