Re: Error when declaring sqlca.h

From: Kirk Bradley <kbradley_at_us.oracle.com>
Date: 1995/12/13
Message-ID: <kbradley-1312951022060001_at_kbradley-mac.us.oracle.com>#1/1


try: typedef struct sqlca sqlca;

In article <1995Dec8.224651_at_omega.ntu.ac.sg>, bc7114915_at_omega.ntu.ac.sg (OLE OLE ....) wrote:

> Hello,
> I am using Proc*C compiler and having problems when compiling
> the C code generated by Proc*C compiler.
> I have defined a Sqlca.h file below from the menu:
>
> struct slqca
> {
> char sqlcaid[8];
> long sqlabc;
> long sqlcode;
> struct
> {
> unsigned short sqleerrml;
> char sqlerrmc[70];
> } sqlerrm;
> char sqlerrp[8];
> long sqlerrd[6];
> char sqlwarn[8];
> char sqlext[8];
> };
> struct sqlca sqlca
>
> But when i compiled, it the .C files, the error was "struct" is an improperly
> declared function.
>
> Can anybody please solve the problem. Thanks
>
> Regards,
> TTL
  Received on Wed Dec 13 1995 - 00:00:00 CET

Original text of this message