1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00
cdt/core
githubaf 9ce74a7145
Do not mark "removing unused section" lines as errors (#19)
gcc linker outputs "removing unused section" to stderr when the option "--print-gc-sections" is used. That is fine. 

Eclipse CDT reports all these lines as errors however and the build seems to have failed, which is wrong.
The was a bug report Bug 539927: Do not mark "Removing unused section" lines as errors and a fix
To fix this bug a change was made 2020-12-02 05322656c6
-CDTGNULinkerErrorParser.regex.LdMode=(.*[/\\\\])?ld(\\.exe)?: (mode .*)
+CDTGNULinkerErrorParser.regex.ldInfo=(.*[/\\\\])?ld(\\.exe)?: ((mode|Removing unused section) .*)

That does however not solve problem entirely, as the output of gcc linker is "removing", not "Removing", i.e. the word "removing" starts with a lower-case "r"
To fix that problem both R and r should be accepted.
2022-08-22 11:42:57 -04:00
..
org.eclipse.cdt.core Do not mark "removing unused section" lines as errors (#19) 2022-08-22 11:42:57 -04:00
org.eclipse.cdt.core.linux [releng] Make CDT Clean-up profile match Editor on save actions 2022-04-19 20:13:15 -04:00
org.eclipse.cdt.core.linux.aarch64 [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
org.eclipse.cdt.core.linux.ppc64le [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
org.eclipse.cdt.core.linux.x86_64 [releng] Update all legal files with update_legal_files.sh 2022-04-13 13:42:35 -04:00
org.eclipse.cdt.core.macosx [releng] Make CDT Clean-up profile match Editor on save actions 2022-04-19 20:13:15 -04:00
org.eclipse.cdt.core.native [releng] Make CDT Clean-up profile match Editor on save actions 2022-04-19 20:13:15 -04:00
org.eclipse.cdt.core.tests Move the disable intro ini out of root of repo 2022-08-04 12:23:12 -04:00
org.eclipse.cdt.core.win32 [releng] Make CDT Clean-up profile match Editor on save actions 2022-04-19 20:13:15 -04:00
org.eclipse.cdt.core.win32.x86_64 [releng] Rebuilt natives for updated Java 2022-07-19 15:51:41 -04:00
org.eclipse.cdt.ui Fix widget is disposed error during shutdown 2022-08-16 16:04:11 +02:00
org.eclipse.cdt.ui.tests Move the disable intro ini out of root of repo 2022-08-04 12:23:12 -04:00
pom.xml [releng] Bump versions for 10.7.0 2022-04-10 20:55:36 -04:00