| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: EMX C++ |
* Crossposted in OS2.PROG.GER
* Crossposted in OS2PROG
* Crossposted in OS2NET.PROGRAMMIERUNG.GER
======================================================================
* Area : emx
======================================================================
From: neis{at}cdc.informatik.th-darmstadt.de (Stefan Neis)
Robert Dickson (robertd{at}Deltanet.com) wrote:
> My question is this, just how compliant to ANSI standards is the C++
> port of EMC? Is there any documentation that lists the differences?
> ...
> I am also trying to find an e-text of the current ANSI C++ Standard,
> any ideas on where to look?
.. and wasn't there somebody (some days ago) asking
> does gcc support 'mutable' ? (Or was that on gnu.g++.help?)
Since EMX is a port of gcc, you should ask the g++-developpers,
but I think, some points are mentioned in the "reno"-texi-File, which is
included in the EMX distribution (at least it was included in some older
version...); some points that I remember are:
+ gcc (and emx) support 'mutable', which most other compilers don't
support (yet).
+ gcc supports the new scope rule for for-loops.
- it does not fully support run-time-type-information, however you might
try using the -frtti flag (I _think_, rtti is already supported by
gcc on intel processors, but I don't know how much work is involved
in porting it to OS/2; just try it, I think you have a fair
chance...)
- exception handling was a bit scary for quite some time, but the current
version doesn't offer an extra flag to enable it any more (at least
I didn't see it in the documentation), so I guess it should work,
though I don't use it so far.
- Template instantiation is rather complicated, but possible. But you
really need to look at the "Template instantiation"-node of the
info-File...
+ gcc-2.8.0 is rumoured to fix the mentioned problems
(will we get emx-0.9d, when gcc-2.8.0 is released, Eberhard?)
Usually,an excellent first reference for questions concerning g++ is
"Mike Stump's Home Page": http://www.cygnus.com/~mrs/
It especially contains a link to "The ANSI C++ Draft and working papers" on
various mirrors and in various formats, e.g.~on
"http://galactose.stanford.edu/~iburrell/cpp/wp-draft/"
> There is no such thing as a dangerous weapon, there are only dangerous
> men...
Sounds familiar. Heinlein?
Stefan Neis
-------------
To unsubscribe send a message to majordomo{at}IAEhv.nl with in the body:
unsubscribe emx
Report serious problems at: emx-owner{at}.IAEhv.nl.
======================================================================
--- E3-32/1.11-32/2.51+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 244/1130 1500 396/1 270/101 712/624 711/934 |
|
| 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™.