cppcheclipse
cppcheclipse copied to clipboard
template flag is hard-coded, can't change to 'gcc'
What steps will reproduce the problem?
1. Run cppcheck plugin within Eclipse 3.8.2, Linux 64-bit on a C or C++ file
2. See console output
3. The template flag is hardcoded to
"--template={file};{line};{severity};{id};{message}"
What is the expected output? What do you see instead? Please provide output
of the console view of cppcheclipse as well as the Eclipse error log.
The output is expected given the template flag. I want to be able to specify a
different template flag, e.g. --template=gcc
What version of the cppcheclipse, cppcheck, Eclipse and Java are you using?
On what operating system?
cppcheck 1.63
java version "1.8.0_05"
Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
Please provide any additional information below.
This is a feature request.
Original issue reported on code.google.com by [email protected] on 1 May 2014 at 11:59
The template option needs to be hardcoded, so that cppcheclipse can parse the
output and put the appropriate Eclipse error markers in place. Is there any
specific output info you miss in the template?
Why do you want to switch the template? The console output is primarily thought
for cppcheclipse itself and is only given out for debugging purposes. Please
have a look at the markers view, if you want to get an overview over all
detected issues by cppcheck.
Original comment by [email protected] on 2 May 2014 at 7:07
I see. Okay. I was thinking that if the template was 'gcc' then I could
double-click on the console output and have Eclipse take me to that line in the
file. Maybe I was expecting the cppcheck output to act like the output of the
Eclipse compile output?
Original comment by [email protected] on 2 May 2014 at 8:13