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/NewIn910"

< CDT
m (Build)
Line 98: Line 98:
 
-->
 
-->
  
<!--
 
 
= API modifications =
 
= API modifications =
 
----
 
----
 +
{| style="width: 100%;"
 +
|- style="vertical-align:top;"
 +
! style="width: 30%; text-align:left;" | org.eclipse.cdt.ui.actions.DeleteResConfigsAction and ExcludeFromBuildAction
 +
|
 +
The classes '''DeleteResConfigsAction''' and '''ExcludeFromBuildAction''' have been removed since they have been unused and deprecated since CDT 8.0. Developers should use '''DeleteResConfigsHandler''' and '''ExcludeFromBuildHandler''' instead.
 +
|}
 
----
 
----
 
-->
 
  
 
= Bugs Fixed in this Release =
 
= Bugs Fixed in this Release =

Revision as of 00:04, 8 November 2019


Release


This is the New & Noteworthy page for CDT 9.10 which is part of Eclipse 2019-12 Simultaneous Release




Code Analysis


Float comparison

Added a new checker to verify direct float number comparison. See Bug 545704.

Functions/Methods blacklist

Added a new checker to verify the usage of not allowed methods and/or functions. See Bug 545954.

Variable initialization

Added a new checker to verify if variables are static in header file or if multiple declarations of variables are on the same line. See Bug 545977.

Return of local variables addresses

Added a new checker to verify if a method or function returns the address of a local variable. See Bug 546173.



Build


New language settings provider: Compilation Database Parser

For managed build projects, it is now possible to specify the path to a compile_commands.json and reuses existing build output parsers (GCC, MSVC) to detect all the language entries for each file (macros, includes, etc). With this, there is no need to do a full build and in fact no need to have a working build configured in CDT for indexing to work and be fully configured. See Bug 548730.

Compilation Database Parser.png

Note that for CMake projects (Core build), compilation database parsing is already done automatically. The new parser aims to give more flexibility for other project types.




API modifications


org.eclipse.cdt.ui.actions.DeleteResConfigsAction and ExcludeFromBuildAction

The classes DeleteResConfigsAction and ExcludeFromBuildAction have been removed since they have been unused and deprecated since CDT 8.0. Developers should use DeleteResConfigsHandler and ExcludeFromBuildHandler instead.


Bugs Fixed in this Release


See Bugzilla report Bugs Fixed in CDT 9.10


Back to the top