does_not_support_comparisons is a private member of libecap::Area
Bug #1453630 reported by
Alex Rousskov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCAP |
Fix Released
|
High
|
Unassigned |
Bug Description
The clang compiler cannot compile libecap v1.0.0 due to the following error:
/usr/include/
template <typename T> bool operator ==(const Area &a, const T &) {
return a.does_
GCC does not exhibit this problem.
description: | updated |
Changed in ecap: | |
milestone: | none → 1.0.1 |
status: | New → Fix Released |
To post a comment you must log in.
Libecap uses a defective (not portable enough) implementation of the C++ Safe Bool idiom. That attached patch from the FreeBSD libecap package fixes the problem. I have not yet tested this patch and the final fix may be different.