ClamAV build failure: no matching function for call to min()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCAP |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Building ecap on my Raspbian Pi 3+ (Runs with Minibian):
$ tar -xzf ecap_clamav_
$ cd ecap_clamav_
$ ./configure
...
$ make
...
/usr/include/
Xaction.cc:305:49: note: mismatched types 'std::initializ
bufSize = std::min(bufSize, tricklingMax);
In file included from /usr/include/
/usr/include/
/usr/include/
Xaction.cc:305:49: note: mismatched types 'std::initializ
bufSize = std::min(bufSize, tricklingMax);
Makefile:561: recipe for target 'ecap_clamav_
summary: |
- ClamAV build failure: recipe for Xaction.lo failed + ClamAV build failure: no matching function for call to min() |
I cannot reproduce this error, neither with your compiler version (GCC v6.3) nor with newer (more picky) GCC v7 and clang compilers. However, I have a hunch. Does the attached patch help?