[warnings-plugin] Not getting "warning: unused variable"

9 views
Skip to first unread message

Torsten Römer

unread,
Mar 4, 2015, 12:10:16 PM3/4/15
to jenkins...@googlegroups.com
Hello,

I've just installed the nice warnings plugin for an avr-gcc project, and
configured it to scan the source as well as the console for warnings.
I've put an unused variable on purpose and in the console I have:

lambda.c: In function ‘display’:
lambda.c:59:6: warning: unused variable ‘unused’ [-Wunused-variable]
int unused = 0;
^

But the plugin does not find the warning:

[WARNINGS] Parsing warnings in files '**/*.c, **/*.h' with parser GNU Make + GNU C Compiler (gcc)
[WARNINGS] Finding all files that match the pattern **/*.c, **/*.h
[WARNINGS] Parsing 3 files in /home/dode/.jenkins/jobs/lambda/workspace
[WARNINGS] Successfully parsed file /home/dode/.jenkins/jobs/lambda/workspace/lambda/lambda.c with 0 unique warnings and 0 duplicates.

Am I using the wrong parser or what did I miss?

Cheers,
Torsten
Reply all
Reply to author
Forward
0 new messages