Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ANSI + ProC ???

Re: ANSI + ProC ???

From: Bill Jones <wjones14_at_csc.com>
Date: 1997/06/25
Message-ID: <01bc8177$11b50aa0$e7f20b99@plunger.gdeb.com>#1/1

Stephan Wilms <Stephan.Wilms_at_CWA.de> wrote in article <33B10C24.2437_at_CWA.de>...
> Bas Ven wrote:
> >
> > typedef struct {
> > int i;
> > int b;
> > } Test, *pTest;
> >
> > the ProC compiler can't handle it and complains about the
> > comma between Test and *pTest. I always thought this kind
> > of declaration is/was valid (ansi) C.
> > I hope someone can tell me that this either is not valid
> > (ansi) C or that ProC is f*cked.
>
> It is legal ANSI-C and your compiler does appear to be f*cked.

I tried that code using the Oracle 2.1.3 Pro*C precompiler, and it worked fine. I suspect that a precompiler and/or compiler switch might not be set correctly in the makefile.

-- 
--
Bill Jones                      e-mail addresses:
Computer Sciences Corp.                 (work)  wjones14_at_csc.com
Norwich, Connecticut                    (play)  billj_at_mindport.net
(860) 437-5650               WWW:   http://www.mindport.net/~billj
Received on Wed Jun 25 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US