mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-7455 readme note about requiring compiler RTTI
X-SVN-Rev: 28085
This commit is contained in:
parent
bdd8a3a473
commit
090e24946f
1 changed files with 22 additions and 2 deletions
|
@ -204,11 +204,31 @@
|
|||
|
||||
<p>To see which APIs are new or changed in this release, view the <a href="APIChangeReport.html">ICU4C API Change Report</a>. </p>
|
||||
|
||||
<p><!-- The following list concentrates on <em>changes that affect existing
|
||||
applications migrating from previous ICU releases</em>. --> For more news about
|
||||
<p>The following list concentrates on <em>changes that affect existing
|
||||
applications migrating from previous ICU releases</em>.
|
||||
For more news about
|
||||
this release, see the <a href="http://site.icu-project.org/download">ICU
|
||||
download page</a>.</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>Compiler RTTI</strong><br />
|
||||
ICU 4.6 requires compiler RTTI to be turned on.
|
||||
It is used with many of ICU's polymorphic classes
|
||||
(classes with virtual functions; they are subclasses of UObject).<br />
|
||||
Existing "poor man's RTTI" functions continue to be available, but
|
||||
the ICU code does not use them any more and users are encouraged
|
||||
to use real C++ RTTI as well where necessary.
|
||||
(<code>dynamic_cast<pointer></code> for casting and testing whether
|
||||
an object is an instance of a class <em>or subclass</em>,
|
||||
and <code>typeid(object or type)</code> for testing for type equality.)<br />
|
||||
New ICU class hierarchies (new immediate subclasses of UObject) will not
|
||||
add "poor man's RTTI" functions.<br />
|
||||
On AIX with the Visual Age compiler, RTTI must be turned on explicitly
|
||||
via the the <code>-qrtti</code> option.
|
||||
When using ICU's own makefiles, this is done automatically via the
|
||||
<code><a href="source/config/mh-aix-va">mh-aix-va</a></code> file.</li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="Download" href="#Download" id="Download">How To Download the
|
||||
Source Code</a></h2>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue