1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core.tests
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 Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
icons Test changes for Symbian (Lars & Bala) patch for Shared Tool Options support 2005-06-06 15:53:20 +00:00
META-INF Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
resources Remove .. folder entry in zip file 2022-11-11 11:34:37 -05:00
suite/org/eclipse/cdt/managedbuilder Make tests inherit from BaseTestCase or BaseTestCase5 2022-11-07 10:04:20 -05:00
testdata 197468: apply fix 2008-01-15 17:08:11 +00:00
tests/org/eclipse/cdt Bug 571722: Add ALL_FLAGS for scanner discovery 2022-11-21 10:46:49 -05:00
.classpath Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
.project Moved the managed build tests from the core tests package to here 2004-04-23 15:21:23 +00:00
about.html [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
build.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
plugin.xml Bug 571722: Add ALL_FLAGS for scanner discovery 2022-11-21 10:46:49 -05:00
ui-test-plugin.properties releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00