Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ Community Plugin mishandles file suffixes #66

Closed
wenns opened this issue Nov 15, 2013 · 0 comments
Closed

C++ Community Plugin mishandles file suffixes #66

wenns opened this issue Nov 15, 2013 · 0 comments
Assignees
Labels

Comments

@wenns
Copy link
Contributor

wenns commented Nov 15, 2013

The sonar.cxx.suffixes property doesn't work as documented. The documentation states that suffixes should be specified without a leading period ('.'), but that leads to e.g. file 'binaryh' being parsed as a source file, which ultimately causes a database exception when the contents of the binary file are written to a text database column. The workaround is to specify suffixes as e.g. ".cpp,.h". If that is the desired syntax, the documentation should be updated to reflect that, and the default suffixes list as well (which do not include leading periods either). Otherwise, the code should be changed to prepend the leading period internally.

@ghost ghost assigned wenns Nov 15, 2013
@wenns wenns closed this as completed Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant