ecap_clamav_adapter uses tr1::static_pointer_cast
Bug #1595562 reported by
Patrick Welche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCAP |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
explains why a move to C++11 in squid's footsteps seems necessary.
Code like:
const libecap:
in ecap_clamav_
To post a comment you must log in.
Update to C++11
As per https:/ /bugs.launchpad .net/ecap/ +bug/1595488 it seems that
moving to requiring C++11 in line with squid is necessary.
- Enforce C++11 requirement using autoconf-archive macros.
- Remove trace of std::tr1.
- Replace deprecated auto_ptr with unique_ptr.
- As you already depend on pkg-config to find libecap, do
the same for libclamav. (If you prefer, I could go the other
way and replace pkg-config with real autoconf detection for
libecap.)
- add ax_pthread.m4 to fix missing macros.