> Sadly, this is not my code. I am trying to port it using a new
> compiler version (v5.0 of Sun Workshop). My code requires the new
> compiler, and this code compiles successfully under v4.2 of Sun
> Workshop, as well as xlC for AIX, which is the original platform for
> the code. Also, there are a couple of instances where ifstream* and
> ofstream* are being passed as params, and I receive the same error in
> those cases, though obviously minus the extra *. Futher, I am getting
> (and have been getting) two error messages that the types ifstream and
> ofstream are incomplete.
> I tried casting the variables in the param calls, but that did not
> solve the problem. Thanks for the response, though.
IIRC, I had a lot of problems with C++ stream sorts-of-things when I
installed that version of the compiler. In fact, IIRC, I couldn't
even get a C++ "hello, world" program to compile until I installed
(there were, ahem, "issues" having to do with Sun's shipping of both
the "classic" iostream library and the newer Standard Library version)
I would suggest that you check Sun's web site for these patches.
From my notes, here were the relevant patch IDs:
(also, I believe that Sun has a newer version of this compiler available)
Hope this helps,
Kevin D. Clark (cetaceannetworks.com!kclark) | Will hack Perl for
Cetacean Networks, Inc. | fine food, good beer,
Portsmouth, N.H. (USA) | or fun.
alumni.unh.edu!kdc (PGP Key Available) |