Re: New Pro*C 2.0 and C++

From: Joe Halpin <jhalpin_at_netcom.com>
Date: Sat, 10 Sep 1994 10:03:33 GMT
Message-ID: <jhalpinCvwrxy.42C_at_netcom.com>


In article <tssmithCvw2DI.D8J_at_netcom.com> tssmith_at_netcom.com (Tim Smith) writes:
>choang_at_tdkt.mn.org (Carl Hoang) writes:
>>How come the new Pro*C 2.0 won't work with C++ compiler? It says right in
>>the doc and gives no explanation. The old version can. I really don't
>>understand this move. Thanks.
>
>The reason is because Pro*C 2.0 includes a C parser, but not a C++
>parser. I believe this was mentioned in the manual, but I don't have a
>copy here at home to verify that. The C parser (with a preprocessor)
>offers a lot of advantages for C people.
>
>Pro*C 2.1 (with Oracle 7.2, and soon to be in beta) will be compatible
>with C++.
>
>--Tim (tssmith_at_netcom.com) (tssmith_at_oracle.com)

But you could just put all the Pro*C sections of the code into their own (ANSI C) modules, then compile and link them with the C++ code, right? Are there problems with Pro*C code being in different modules, (static variables, etc)?

-- 
Joe Halpin 
jhalpin_at_netcom.com
---------------------------------------------------------------------------
Received on Sat Sep 10 1994 - 12:03:33 CEST

Original text of this message