Skip to content
Snippets Groups Projects
Commit 1671c949 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #514: Fixed more warnings

parent 439492cc
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ make $@ 2>&1 | perl -n <(cat <<'EOF' ...@@ -9,7 +9,7 @@ make $@ 2>&1 | perl -n <(cat <<'EOF'
# ----- filter gcc warnings, for example: # ----- filter gcc warnings, for example:
# /usr/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer ... # /usr/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer ...
if (m#^([/._ A-Za-z0-9]+):([0-9]+): warning: (.*)$#) { if (m#^([/._ A-Za-z0-9]+):([0-9]+): warning: +(.*)$#) {
$file = $1; $file = $1;
$line = $2; $line = $2;
$warning = $3; $warning = $3;
...@@ -21,6 +21,7 @@ if (m#^([/._ A-Za-z0-9]+):([0-9]+): warning: (.*)$#) { ...@@ -21,6 +21,7 @@ if (m#^([/._ A-Za-z0-9]+):([0-9]+): warning: (.*)$#) {
next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^base class '[^']+' should be explicitly initialized/; next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^base class '[^']+' should be explicitly initialized/;
next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^'[^']+' was hidden/; next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^'[^']+' was hidden/;
next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^by '[^']+'/; next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^by '[^']+'/;
next if $file =~ m#^/opt/WinCC_OA/# && $warning =~ /^enumeral and non-enumeral type in conditional expression/;
# OpenMPI warnings # OpenMPI warnings
next if $file =~ m#/mpicxx.h$# && $warning =~ /^unused parameter/; next if $file =~ m#/mpicxx.h$# && $warning =~ /^unused parameter/;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment