gicho / cppcheclipse

Automatically exported from code.google.com/p/cppcheclipse
0 stars 0 forks source link

template flag is hard-coded, can't change to 'gcc' #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 mrfirmw...@gmail.com on 1 May 2014 at 11:59

GoogleCodeExporter commented 8 years ago
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 konra...@gmx.de on 2 May 2014 at 7:07

GoogleCodeExporter commented 8 years ago
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 mrfirmw...@gmail.com on 2 May 2014 at 8:13