Bug 575875 - Impossible to disable all error parsers.
Summary: Impossible to disable all error parsers.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 10.3.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 08:36 EDT by Kirill Balod CLA
Modified: 2021-09-08 08:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Balod CLA 2021-09-08 08:36:50 EDT
Project->Properties->C/C++ Build->Settings->Error Parsers
Deselect all error parsers, press "Apply and Close", reopen properties.
Several parsers still selected.

The method 
org.eclipse.cdt.managedbuilder.internal.core.Configuration.getErrorParserList()
calls 
	Set<String> set = contributeErrorParsers(null, true);

contributeErrorParsers calls 
		if (includeChildren) {
			IResourceInfo[] rcInfos = getResourceInfos();
			for (int i = 0; i < rcInfos.length; i++) {
				ResourceInfo rcInfo = (ResourceInfo) rcInfos[i];
				set = rcInfo.contributeErrorParsers(set);
			}
		}
Parsers contributed from ResourceInfo cannot be disabled but should be.