Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
7123e16d
Commit
7123e16d
authored
Jul 07, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Found the root cause, clear flint bug.
parent
80071c56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
flint.lnt
flint.lnt
+8
-1
flint_skel.sh
tools/flint_skel.sh
+0
-11
No files found.
flint.lnt
View file @
7123e16d
...
...
@@ -9,6 +9,8 @@
//d__flexelint_v9__=1
+fan
-hm4
///////////////////////////////////////////////////////////////////////
// electives
//+e9*
...
...
@@ -60,7 +62,12 @@
///////////////////////////////////////////////////////////////////////
-emacro((835),*) // A zero has been given as ___ argument to operator '___
// This does not work with pcre2.h, the injected /* lint ... */ comments
// interfere with macro argument concatenation. Clear flexelint bug
// because it does not happen when run with -p
// -emacro((835),*) // A zero has been given as ___ argument to operator '___
-e835 // A zero has been given as ___ argument to operator '___
///////////////////////////////////////////////////////////////////////
// build/config related
...
...
tools/flint_skel.sh
View file @
7123e16d
...
...
@@ -18,15 +18,6 @@ fi
IARG
=
"
${
IARG
}
-I/usr/local/include"
# Flexelint do not grok the macro-stacking in pcre2.h
# Solve it by running it through CPP first.
echo
'
#include "config.h"
#include <pcre2.h>
'
| cc
$IARG
-E
- |
sed
'/^# [0-9]/d'
>
pcre2.h
flexelint
\
-D__FLEXELINT__
\
$(if
[
$l
-eq
2
]
;
then
echo
../../flint.lnt
;
fi)
\
...
...
@@ -38,8 +29,6 @@ flexelint \
$FLOPS
\
2>&1 |
tee
_.fl
rm
-f
pcre2.h
if
[
-f
_.fl.old
]
;
then
diff
-u
_.fl.old _.fl
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment