Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CDT/User/NewIn95"

< CDT
(Parser: Mention support for C++14 lambda init-captures)
(Hide sections that are empty)
 
(6 intermediate revisions by 4 users not shown)
Line 29: Line 29:
 
----
 
----
  
 +
<!--
 
= Code Analysis =
 
= Code Analysis =
 
----
 
----
 
----
 
----
 +
-->
  
 +
<!--
 
= Formatter =
 
= Formatter =
 
----
 
----
 
----
 
----
 +
-->
  
 
= Parser =
 
= Parser =
Line 48: Line 52:
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
! style="width: 30%; text-align:left;" | Improved support for C++17
 
! style="width: 30%; text-align:left;" | Improved support for C++17
| CDT's parser now supports C++17 nested namespace definitions ([http://eclip.se/490359 bug 490359]) and <code>template&lt;auto&gt;</code> ([http://eclip.se/519361 bug 519361]).
+
| CDT's parser now supports C++17 nested namespace definitions ([http://eclip.se/490359 bug 490359]), <code>static_assert</code> without message ([http://eclip.se/534808 bug 534808]), <code>constexpr if</code> ([http://eclip.se/527427 bug 527427]), <code>if</code> with initializer ([http://eclip.se/522216 bug 522216]), <code>switch</code> with initializer ([http://eclip.se/531098 bug 531098]), <code>template &lt;auto&gt;</code> ([http://eclip.se/519361 bug 519361]), and <code>*this</code> in lambda captures ([http://eclip.se/535196 bug 535196]).
 
|}
 
|}
  
Line 70: Line 74:
 
= Debug =
 
= Debug =
 
----
 
----
 +
{| style="width: 100%;"
 +
|- style="vertical-align:top;"
 +
! style="width: 30%; text-align:left;" | Remote timeout for debugging slow hardware
 +
| Remote debugging configurations shipped with CDT (C/C++ Remote Application, GDB Hardware Debugging) now support a "Remote timeout (seconds)" as an option that can be passed to GDB early in the launch sequence with GDB's "set remotetimeout" option. This is useful when connecting to slow hardware for which GDB's 2 second default is too short. See [http://eclip.se/530635 bug 530635].
 +
|}
 
----
 
----
 
 
= API modifications =
 
= API modifications =
 
----
 
----
 +
{| style="width: 100%;"
 +
|- style="vertical-align:top;"
 +
! style="width: 30%; text-align:left;" | org.eclipse.cdt.debug.gdbjtag.core
 +
|
 +
# The constants '''IGDBJtagConstants.ATTR_JTAG_DEVICE''' and '''IGDBJtagConstants.DEFAULT_JTAG_DEVICE''' have been deprecated because GDB Hardware Debugging launch configurations now persist the selected JTAG device by ID (see [http://eclip.se/535024 bug 535024]). Developers should use '''IGDBJtagConstants.ATTR_JTAG_DEVICE_ID''' and '''IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID''' instead.
 +
|}
 
----
 
----
  
Line 81: Line 95:
 
----
 
----
  
 +
<!--
 
= Launch Bar =
 
= Launch Bar =
 
----
 
----
 
----
 
----
 +
-->

Latest revision as of 09:15, 27 June 2018


Release


This is the New & Noteworthy page for CDT 9.5 which will be part of Eclipse Photon


Editor


Open Declaration is more fault-tolerant

When navigating from a function's declaration to its definition, we now successfully perform the navigation even if the signature of the definition doesn't match exactly (bug 525739). This is particularly useful when you're changing a function / method signature by modifying the declaration first, and then want to navigate to the definition (whose signature is temporarily mis-matching) to change that also.



Parser


Improved support for C++14 CDT's parser now supports C++14 lambda init-captures (bug 413527) and digit separators (bug 519062). (There is a known issue with digit separators where regions between separators can be colored as a character literal.)

Improved support for C++17 CDT's parser now supports C++17 nested namespace definitions (bug 490359), static_assert without message (bug 534808), constexpr if (bug 527427), if with initializer (bug 522216), switch with initializer (bug 531098), template <auto> (bug 519361), and *this in lambda captures (bug 535196).

Build


Meson project support Meson projects are now supported using the new Core Model project type. Support includes UI configuration which uses the result of the meson command help to populate the UI. A manual ninja build can be requested via the UI so that non-standard targets (e.g. install) can be built that are not provided via the Launch bar. Container build support is also provided.

Container Build support for Core Model Projects Container Build is now supported for Core Model projects such as Meson, CMake, and the new Standard Make project types. Container Build support previously was only available for old-style Managed Build projects. Containers are treated simply as targets and are accessible via the Launch bar target pull-down which shows images for active Docker connections.

Debug


Remote timeout for debugging slow hardware Remote debugging configurations shipped with CDT (C/C++ Remote Application, GDB Hardware Debugging) now support a "Remote timeout (seconds)" as an option that can be passed to GDB early in the launch sequence with GDB's "set remotetimeout" option. This is useful when connecting to slow hardware for which GDB's 2 second default is too short. See bug 530635.

API modifications


org.eclipse.cdt.debug.gdbjtag.core
  1. The constants IGDBJtagConstants.ATTR_JTAG_DEVICE and IGDBJtagConstants.DEFAULT_JTAG_DEVICE have been deprecated because GDB Hardware Debugging launch configurations now persist the selected JTAG device by ID (see bug 535024). Developers should use IGDBJtagConstants.ATTR_JTAG_DEVICE_ID and IGDBJtagConstants.DEFAULT_JTAG_DEVICE_ID instead.

Bugs Fixed in this Release


See Bugzilla report Bugs Fixed in CDT 9.5



Back to the top