1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00
cdt/debug/org.eclipse.cdt.debug.application.doc
Jonah Graham b8bd15844b Bug 571722: Add ALL_FLAGS for scanner discovery
This change adds the ALL_FLAGS that does not limit tool options to
those declared as IOption::isForScannerDiscovery when launching the
compiler to discover compiler built-ins.

This is needed as many other flags, either entered manually in "Other
flags" or some of the existing flags with checkboxes such as "-ansi",
"-fPIC", and "-fstack-protector-all" which all affect scanner discovery
as they can all change what macros are built-in to the compiler.

The current solution has as a drawback that some settings, like -I and -D
then appear twice. For example in the "Includes" node in the "Project
Explorer"

My only reservation about this change is if there is an option
that can be specified successfully at build time, but when used
at scanner discovery time causes the compiler to fail, or return
incorrect results. Therefore I have added a new field,
excludeFromScannerDiscovery to tool options (buildDefinitions
extension point) that allows tool integrators to always exclude
a command line option from ALL_FLAGS. I have also added
a new "Other flags (excluded from discovery)" to the
"Miscellaneous" tab to allow compiler options to be entered
by the user.
2022-11-21 10:46:49 -05:00
..
.settings Lower build.properties errors to warnings for some projects 2022-11-07 23:13:26 -05:00
concepts Update wiki.eclipse links to their new locations 2022-11-09 10:56:55 -05:00
html Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
images Bug 568728: Drop execute permission on files 2020-11-18 17:38:22 +01:00
META-INF [releng] Update help docs for 2022-12 M1 2022-10-03 12:42:37 -04:00
reference Bug 571722: Add ALL_FLAGS for scanner discovery 2022-11-21 10:46:49 -05:00
tasks Bug 568728: Drop execute permission on files 2020-11-18 17:38:22 +01:00
.gitignore Cleared up the target model making it a provider responsibility. 2014-07-01 19:47:36 -04:00
.project Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
book.css Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
build.properties Bug 551817 - Add about.html to src.includes for plugins 2019-10-17 10:07:18 -04:00
customBuildCallbacks.xml Bug 540373: Normalize newlines with .gitattributes 2018-11-20 21:20:39 +00:00
notices.html Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
plugin.properties Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
plugin.xml Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
pom.xml [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
testToc.xml Add CDT Standalone Debugger 2014-05-05 15:39:30 -04:00
toc.xml Bug 484900: Remove CDI User Documentation 2016-12-05 21:46:22 +00:00