|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-1910C54E-44E0-4D36-820A-BCD5FFCDA719" xml:lang="en"><title>Migrating |
|
13 from STLport v4 to v5</title><shortdesc>If you are using STLport v4, it is recommended that you migrate |
|
14 to the latest version of Standard C++ Library (STLport v5 ) available from |
|
15 Symbian^3 to make use of it's latest features.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
16 <prereq id="GUID-FFA3AFA4-7417-4B3E-85FC-8FB5613B764D"> <p>To migrate |
|
17 to STLport v5, application developers can retain the existing sources, but |
|
18 must make changes to the MMP files. More than just linking against STLport |
|
19 v5, application developers can make use of latest features available from |
|
20 STLport v5 onwards and also make use of tools support added in Symbian^3.</p> |
|
21 </prereq> |
|
22 <context id="GUID-829B7AE0-8480-45AE-A611-BDE659FF01B9"> <p>To migrate |
|
23 from STLport v4 to v5, perform the following steps:</p> </context> |
|
24 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-6-1-10-1-1-5-1-4-1-9-1-3-3"> |
|
25 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-6-1-10-1-1-5-1-4-1-9-1-3-3-1"><cmd/> |
|
26 <info><p>Replace the <codeph>LIBRARY</codeph> entry in the <filepath>.MMP</filepath> file |
|
27 from <filepath>libstdcpp.lib</filepath> to <filepath>libstdcppv5.lib</filepath>.</p></info> |
|
28 </step> |
|
29 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-6-1-10-1-1-5-1-4-1-9-1-3-3-2"><cmd/> |
|
30 <info><p>Replace the <codeph>SYSTEMINCLUDE</codeph> path in the <filepath>.MMP</filepath> file |
|
31 from <filepath>\epoc32\include\stdapis\stlport</filepath> to <filepath>\epoc32\include\stdapis\stlportv5</filepath>.</p></info> |
|
32 </step> |
|
33 <step id="GUID-4721BCB0-9D9D-44CF-8FCA-0F0AB760D7C0"><cmd/> |
|
34 <info><p>Add the <codeph>STDCPP</codeph> keyword to the <filepath>.MMP</filepath> file, |
|
35 if you are using the global operator <codeph>new</codeph> and your target |
|
36 type is not an STD target type. </p></info> |
|
37 <stepresult><p><note> As Carbide currently has a defect associated with the <codeph>STDCPP</codeph> keyword, |
|
38 it is recommended that you build code from command line instead of using Carbide. </note></p></stepresult> |
|
39 </step> |
|
40 </steps> |
|
41 <postreq id="GUID-243E4595-F067-46A4-B7D5-99ED4703D19E"><p><b>Note</b>: For |
|
42 more information about using STLport v5 on Symbian platform, see <xref href="GUID-2CCD1748-9EDE-5383-9941-A3051E06F3E2.dita">Standard |
|
43 C++ Support on Symbian Platform</xref>.</p></postreq> |
|
44 </taskbody></task> |