1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 19:45:22 +02:00
cdt/doc/org.eclipse.cdt.doc.user
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
cheatsheets Replaced C/C++ Project view with Project Explorer view 2010-07-05 15:54:59 +00:00
concepts Update wiki.eclipse links to their new locations 2022-11-09 10:56:55 -05:00
getting_started Bug 559272: Connect help to new wiki page 2021-03-15 11:48:03 -04:00
images Removed old versions of N&N files 2022-10-03 21:55:27 -04:00
intro Bug 460370 - Remove reference to CDT project name in Welcome screen 2015-02-19 13:46:31 -05: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
setting_up_eclipse_cdt Update wiki.eclipse links to their new locations 2022-11-09 10:56:55 -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 Upgrade to Eclipse 3.0. Includes: 2003-11-24 18:31:03 +00:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
book.css Bug 341483 - [Accessibility] CDT documentation has accessibility issues 2011-03-31 13:59:18 +00:00
build.properties Bug 551817 - Add about.html to src.includes for plugins 2019-10-17 10:07:18 -04:00
contexts_CDT.xml Bug 568728: Drop execute permission on files 2020-11-18 17:38:22 +01:00
contexts_CDT_DEBUGGER.xml Bug 472765: User documentation for Path Mapping 2016-04-13 10:41:46 -05:00
contexts_CDT_DEBUGGER_DSFGDB.xml Bug 389527: Update DSF-GDB preference page help 2012-09-17 14:34:28 -04:00
contexts_CDT_DEBUGGER_MI.xml Fix for bug 209005 2007-11-13 16:53:07 +00:00
contexts_CDT_LAUNCH.xml Bug 446013 - Improvements to CDT launch configurations context help 2014-11-04 09:32:21 -05:00
contexts_CDT_make.xml bug 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
customBuildCallbacks.xml Bug 540373: Normalize newlines with .gitattributes 2018-11-20 21:20:39 +00:00
help.css Bug 568728: Drop execute permission on files 2020-11-18 17:38:22 +01:00
notices.html Bug 389951 - [Accessibility] CDT documentation has accessibility issues 2012-09-19 21:17:46 -04:00
plugin.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.xml Bug 446013 - Improvements to CDT launch configurations context help 2014-11-04 09:32:21 -05:00
pom.xml [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
toc.xml bug 315992: What's New and Noteworthy in CDT 7.0? 2010-06-07 19:34:15 +00:00
topics_Concepts.xml bug 409392: Update context help and user documentation for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-05 14:37:07 -04:00
topics_Getting_Started.xml Bug 341483 - [Accessibility] CDT documentation has accessibility issues 2011-03-31 13:59:18 +00:00
topics_Reference.xml Bug 568728: Drop execute permission on files 2020-11-18 17:38:22 +01:00
topics_Tasks.xml Bug 520340: enable CLI to CDT's code formatter 2017-11-02 07:03:22 -04:00