Re: C++ and ProC compiler

From: SITN Account 0342 <sitn0342_at_leland.Stanford.EDU>
Date: 12 May 1994 02:58:05 GMT
Message-ID: <2qs5vt$iiv_at_nntp2.Stanford.EDU>


|> extern sqlcex(/*_ unsigned long *, struct sqlexd *, struct sqlcxp * _*/);
|>
|> It would seem that the precompiler is creating the prototype as C++ would like
|> it to, but why does it comment out the parameters? Is there some flag that will
|> allow those parameters to go un-commented?

Try code=ansi_c. This is available in 1.5, and I believe it is also in 1.4 of proc. This will uncomment this declaration, and makes the generated code more ansi-compliant in general. Your C++ compiler still might not take it though - some are really strict about ANSI compliance. Could be linking errors as well. Received on Thu May 12 1994 - 04:58:05 CEST

Original text of this message