Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ANSI + ProC ???
In article <33AFC7BA.39A3_at_ats.nld.alcatel.nl>,
Bas Ven <ven_at_ats.nld.alcatel.nl> wrote:
>Hi,
>
>I am trying to get the following typedef to be accepted by
>the Oracle ProC (version 2.0.6.0.0) precompiler. The docs
>state that this precompiler is ANSI compliant
>(with the CODE option).
>
>When I create the following declaration:
>
>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.
>
Your typedef statement is accepted by my cc compiler, so it should be fine.
I have also just tried this on version 2.0.4.0.0 of Pro*C and it compiled
without problems. So maybe 2.0.6.0.0 does have a problem.
P.S. I would recommend comp.databases.oracle if you need further help.
Hope this helps,
Dave Harrison
Received on Tue Jun 24 1997 - 00:00:00 CDT
![]() |
![]() |