We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e240dac commit d60df59Copy full SHA for d60df59
com.googlecode.cppcheclipse.ui/src/com/googlecode/cppcheclipse/ui/ToolchainSettings.java
@@ -179,7 +179,12 @@ protected Collection<File> getIncludes(boolean onlyUserDefined) {
179
if (includePathSetting instanceof ACPathEntry) {
180
// let CDT do the resolution for all ACPathEntries which should cover all include settings
181
ACPathEntry includePathEntry = (ACPathEntry) includePathSetting;
182
- includePath = includePathEntry.getLocation().toFile();
+ IPath location = includePathEntry.getLocation();
183
+ if (location == null) {
184
+ continue;
185
+ }
186
+
187
+ includePath = location.toFile();
188
} else {
189
190
// make path absolute
0 commit comments