Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ANSI + ProC ???
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/~billjReceived on Wed Jun 25 1997 - 00:00:00 CDT