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

Home -> Community -> Usenet -> c.d.o.server -> ANSI + ProC ???

ANSI + ProC ???

From: Bas Ven <ven_at_ats.nld.alcatel.nl>
Date: 1997/06/24
Message-ID: <33AFC7BA.39A3@ats.nld.alcatel.nl>#1/1

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.

Regards,

Bas

-- 
-----------------------------------------------------------------
J.B. Ven                              | Alcatel Telecom Nederland
Phone: +31 (70) 3079130               | P.O. Box 3292 
Fax:   +31 (70) 3079191               | NL-2280 GG  Rijswijk
Work:  mailto:ven_at_ats.nld.alcatel.nl  | The Netherlands
Home:  mailto:basven_at_xs4all.nl        |
-----------------------------------------------------------------
Received on Tue Jun 24 1997 - 00:00:00 CDT

Original text of this message

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