|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html> |
|
2 <head> |
|
3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
|
4 <meta http-equiv="Content-Style-Type" content="text/css" /> |
|
5 <meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
|
6 <title>New Features</title> |
|
7 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
|
8 </head> |
|
9 <body bgcolor="#FFFFFF"> |
|
10 <h2>New Features</h2> |
|
11 <p>This reference has new and updated topics:</p> |
|
12 <ul> |
|
13 <li>See pragma <a href="../pragmas/p_gcc_extensions.htm">gcc_extensions </a>for GCC improvements</li> |
|
14 <li>See pragma <a href="../pragmas/p_c99.htm">c99</a> for C99 improvements</li> |
|
15 <li>C++ improvements include: |
|
16 <ul> |
|
17 <li>Forward Declarations of Arrays of Incomplete Type now supported</li> |
|
18 <li>Vendor Independent C++ ABI support for specific compiler target</li> |
|
19 </ul> |
|
20 </li> |
|
21 <li>C++ template improvements include: |
|
22 <ul> |
|
23 <li>Instantiating a Template now supports the explicit instantiation of non-template members</li> |
|
24 <li>Better Template Conformance support for address of template-id rules</li> |
|
25 <li>The pragma <a href="../pragmas/p_defer_defarg_parsing.htm">defer_defarg_parsing</a> supports deferred parsing of member functions by default</li> |
|
26 </ul> |
|
27 </li> |
|
28 <li> “Multibyte and Unicode Support”</li> |
|
29 <li>“Getting Environmental Variables” provides support for determining host-specific environmental variables</li> |
|
30 <li>If you use a function or type that is marked with a GCC style deprecated attribute, a warning message with line number where the statement occurs will appear. |
|
31 <pre>int old_fn () __attribute__ ((deprecated));</pre> |
|
32 <pre>int (*fn_ptr)() = old_fn;</pre> |
|
33 |
|
34 <pre>foo.cpp:2: warning: `old_fn' is deprecated (declared at foo.cpp:1)</pre></li> |
|
35 <li>New and newly documented #pragmas include:</li> |
|
36 <table width="100%" border="0" cellpadding="2" cellspacing="0"> |
|
37 <tr class="code"> |
|
38 <td><a href="../pragmas/p_array_new_delete.htm">array_new_delete</a></td> |
|
39 <td><a href="../pragmas/p_inline_max_size.htm">inline_max_size</a></td> |
|
40 <td><a href="../pragmas/p_options.htm">options</a></td> |
|
41 <td><a href="../pragmas/p_warning.htm">warning</a></td> |
|
42 </tr> |
|
43 <tr class="code"> |
|
44 <td><a href="../pragmas/p_asmpoundcomment.htm">asmpoundcomment</a></td> |
|
45 <td><a href="../pragmas/p_inline_max_total_size.htm">inline_max_total_size</a></td> |
|
46 <td><a href="../pragmas/p_pragma_prepdump.htm">pragma_prepdump</a></td> |
|
47 <td><a href="../pragmas/p_warn_any_ptr_int_conv.htm">warn_any_ptr_int_conv</a></td> |
|
48 </tr> |
|
49 <tr class="code"> |
|
50 <td><a href="../pragmas/p_asmsemicolcomment.htm">asmsemicolcomment</a></td> |
|
51 <td><a href="../pragmas/p_instmgr_file.htm">instmgr_file</a></td> |
|
52 <td><a href="../pragmas/p_showmessagenumber.htm">showmessagenumber</a></td> |
|
53 <td><a href="../pragmas/p_warn_hiddenlocals.htm">warn_hiddenlocals</a></td> |
|
54 </tr> |
|
55 <tr class="code"> |
|
56 <td><a href="../pragmas/p_debug_inline.htm">debuginline</a></td> |
|
57 <td><a href="../pragmas/p_keepcomments.htm">keepcomments</a></td> |
|
58 <td><a href="../pragmas/p_show_error_filestack.htm">show_error_filestack</a></td> |
|
59 <td><a href="../pragmas/p_warn_illtokenpasting.htm">warn_illtokenpasting</a></td> |
|
60 </tr> |
|
61 <tr class="code"> |
|
62 <td><a href="../pragmas/p_defer_defarg_parsing.htm">defer_defarg_parsing</a></td> |
|
63 <td><a href="../pragmas/p_macro_prepdump.htm">macro_prepdump</a></td> |
|
64 <td> <a href="../pragmas/p_space_prepdump.htm">space_prepdump</a></td> |
|
65 <td><a href="../pragmas/p_warn_illunionmembers.htm">warn_illunionmembers</a></td> |
|
66 </tr> |
|
67 <tr class="code"> |
|
68 <td><a href="../pragmas/p_errno_name.htm">errno_name</a></td> |
|
69 <td><a href="../pragmas/p_maxerrorcount.htm">maxerrorcount</a></td> |
|
70 <td><a href="../pragmas/p_srcrelincludes.htm">srcrelincludes</a></td> |
|
71 <td><a href="../pragmas/p_warn_missingreturn.htm">warn_missingreturn</a></td> |
|
72 </tr> |
|
73 <tr class="code"> |
|
74 <td><a href="../pragmas/p_flat_include.htm">flat_include</a></td> |
|
75 <td><a href="../pragmas/p_msg_show_lineref.htm">msg_show_lineref</a></td> |
|
76 <td><a href="../pragmas/p_strictheaderchecking.htm">strictheaderchecking</a></td> |
|
77 <td><a href="../pragmas/p_warn_no_explicit_virtual.htm">warn_no_explicit_virtual</a></td> |
|
78 </tr> |
|
79 <tr class="code"> |
|
80 <td><a href="../pragmas/p_fullpath_file.htm">fullpath_file</a></td> |
|
81 <td><a href="../pragmas/p_msg_show_realref.htm">msg_show_realref</a></td> |
|
82 <td><a href="../pragmas/p_store_object_files.htm">store_object_files</a></td> |
|
83 <td><a href="../pragmas/p_warn_undefmacro.htm">warn_undefmacro</a></td> |
|
84 </tr> |
|
85 <tr class="code"> |
|
86 <td><a href="../pragmas/p_inline_bottom_up_once.htm">inline_bottom_up_once</a></td> |
|
87 <td><a href="../pragmas/p_new_mangler.htm">new_mangler</a></td> |
|
88 <td><a href="../pragmas/p_text_encoding.htm">text_encoding</a></td> |
|
89 <td><a href="../pragmas/p_no_conststringconv.htm">no_conststringconv</a></td> |
|
90 </tr> |
|
91 <tr class="code"> |
|
92 <td><a href="../pragmas/p_inline_max_auto_size.htm">inline_max_auto_size</a></td> |
|
93 <td><a href="../pragmas/p_nosyminline.htm">nosyminline</a></td> |
|
94 <td><a href="../pragmas/p_thread_safe_int.htm">thread_safe_init</a></td> |
|
95 <td> </td> |
|
96 </tr> |
|
97 </table> |
|
98 <li>New and newly documented x86 #pragmas include:</li> |
|
99 <table width="50%" border="0" cellpadding="2" cellspacing="0"> |
|
100 <tr class="code"> |
|
101 <td width="45%"><a href="../pragmas_x86/p_asm_fixup_dllimports.htm">asm_fixup_dllimports</a></td> |
|
102 <td width="55%"><a href="../pragmas_x86/p_disableopts.htm">disableopts</a></td> |
|
103 </tr> |
|
104 <tr class="code"> |
|
105 <td><a href="../pragmas_x86/p_disable_stackalloc.htm">disable_stackalloc</a></td> |
|
106 <td><a href="../pragmas_x86/p_emit_local_scopes.htm">emit_local_scopes</a></td> |
|
107 </tr> |
|
108 <tr class="code"> |
|
109 <td><a href="../pragmas_x86/p_fill_stack.htm">fill_stack</a></td> |
|
110 <td><a href="../pragmas_x86/p_line_trace.htm">line_trace</a></td> |
|
111 </tr> |
|
112 <tr class="code"> |
|
113 <td><a href="../pragmas_x86/p_mmcalls.htm">mmcalls</a></td> |
|
114 <td><a href="../pragmas_x86/p_overlap_locals.htm">overlap_locals</a></td> |
|
115 </tr> |
|
116 <tr class="code"> |
|
117 <td><a href="../pragmas_x86/p_sse.htm">sse</a></td> |
|
118 <td><a href="../pragmas_x86/p_sse2.htm">sse2</a></td> |
|
119 </tr> |
|
120 <tr class="code"> |
|
121 <td><a href="../pragmas_x86/p_struct_reg_return.htm">struct_reg_return</a></td> |
|
122 <td><a href="../pragmas_x86/p_ten_byte_long_double.htm">ten_byte_long_double</a></td> |
|
123 </tr> |
|
124 <tr class="code"> |
|
125 <td><a href="../pragmas_x86/p_use_cmov.htm">use_cmov</a></td> |
|
126 <td><a href="../pragmas_x86/p_use_fcmov.htm">use_fcmov</a></td> |
|
127 </tr> |
|
128 <tr class="code"> |
|
129 <td><a href="../pragmas_x86/p_volatile_asm.htm">volatile_asm</a></td> |
|
130 <td><a href="../pragmas_x86/p_x86_processor.htm">x86_processor</a></td> |
|
131 </tr> |
|
132 </table> |
|
133 <li>Information in this manual now uses references to the ISO C and C++ standards instead of Ellis and Stroustrup’s The Annotated C++ Reference Manual (ARM) and Kernighan and Richie’s The C Programming Language (K&R).<br /> |
|
134 </li> |
|
135 </ul> |
|
136 <div id="footer">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
|
137 |
|
138 |
|
139 </body> |
|
140 </html> |