Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

[patch] Include path containing variables treated as invalid #39

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 12 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Using latest delivered or trunk version of cppcheclipse and latest version of 
Cppcheck.

My project is configured to use variables like ${gccIncludeLocation} that is 
contributed by another plug-in. Upon running the cppcheck action, the included 
is traited as invalid, stack trace provided:



java.net.URISyntaxException: Illegal character in opaque part at index 2: 
C:\Program Files\Eclipse\eclipse\plugins\my.plugin\includes
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at 
com.googlecode.cppcheclipse.ui.ToolchainSettings.getIncludes(ToolchainSettings.j
ava:167)
at 
com.googlecode.cppcheclipse.ui.ToolchainSettings.getUserIncludes(ToolchainSettin
gs.java:91)


Patch provided that appears to fix the issue

Cheers
Francois

Original issue reported on code.google.com by rigault....@gmail.com on 14 Oct 2011 at 9:23

Attachments:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant