TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Darin McBride
from: David Noon
date: 1999-01-22 20:15:02
subject: VisualAge C++ for OS/2

In a message dated 01-20-99, Darin Mcbride said to David Noon about
"VisualAge C++ for OS/2"

Hi Darin,

DN> Does it (emx 0.9d) have namespaces and RTTI yet? If so, I might make the
DN> effort and install it.

DM>Namespaces: apparently not...

DM>test.cc:4: sorry, not implemented: namespace

Bummer.

DM>rtti: In the stl headers I see lots of _cast's, but no 
DM>dynamic casts.  More worrisome is:
[snip]
DM>    foo* f = dynamic_cast(b);

DM>test.cc: In function `int main()':
DM>test.cc:12: cannot dynamic_cast `b' (of type `class base 
DM>*') to type `class foo *'

In that case, it is really a liberty for FSF to call their compiler C++. It
is nowhere near the ISO/ANSI standard. Perhaps I should write a FORTRAN IV
compiler and call it FORTRAN 95; the most annoying error message will be
"not implemented yet". I wonder how long the title of FORTRAN 95 would last
under trades description legislation.

DM>Perhaps I've not used dynamic casting in so long that I'm 
DM>not doing it right.  However, I doubt it...

Looked OK at first glance.

 DN> Is VAC++ 4.0 the full ISO/ANSI standard? [At least at FDIS level, which
 DN> should be fully finalised by now.]

DM>Good question.  I haven't been able to test it, but it 
DM>probably is - the NT users would probably demand it...

No, they would want MS-compatibility. After all, MS sets the standard.

[snip]
 DN> Just how non-standard
 DN> does VAC++ get, apart from linkage conventions and thunks?

DM>Who is non-standard on OS/2 for providing linkage 
DM>conventions or thunks?  Wouldn't the owner of the platform 
DM>provide the "standard" for these things?
DM>:-)

All linkage conventions and thunk interfacing are non-standard. The ISO/ANSI
standard defines nothing of the sort.

DM>jlong == 64-bit.  How is it typedefed?

#if __WATCOMC__ >= 1100
typedef __int64 jlong; /* Watcom 11.0 */
#endif

Does VAC++ 4.0 have 64-bit integers?

DM>Hopefully the same as it is used internally by the "long 
DM>long" (I think) in EMX... if you want to use the EMX 
DM>functionality rather than calling the functions inside the 
DM>javai DLL.

DM>I'm not sure - I just wouldn't want to commit to using EMX 
DM>for Java native code.  :-)

Without some serious improvement in the grammar, I would feel rather
apprehensive about committing to EMX at all. At least you have saved me a
major download, and for that I thank you.

Regards

Dave

___
 * MR/2 2.25 #353 * Windows, the instant 80486 to 8088 conversion kit

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 440/4 255/1 251/25 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.