Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost/icl/concept/interval.hpp: error: unused typedef domain_compare & domain_type #26

Open
k15tfu opened this issue Oct 15, 2019 · 2 comments

Comments

@k15tfu
Copy link

k15tfu commented Oct 15, 2019

Hi! Clang 9.0 generates the following warnings:

In file included from .../include/boost/icl/interval_map.hpp:13:
In file included from .../include/boost/icl/interval_set.hpp:14:
In file included from .../include/boost/icl/interval_base_set.hpp:24:
In file included from .../include/boost/icl/associative_interval_container.hpp:13:
In file included from .../include/boost/icl/concept/joinable.hpp:12:
.../include/boost/icl/concept/interval.hpp:111:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:110:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:124:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:123:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:179:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:180:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:197:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:196:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:292:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:325:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:424:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:423:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
.../include/boost/icl/concept/interval.hpp:436:60: error: unused typedef 'domain_compare' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_compare domain_compare;
                                                           ^
.../include/boost/icl/concept/interval.hpp:435:60: error: unused typedef 'domain_type' [-Werror,-Wunused-local-typedef]
    typedef typename interval_traits<Type>::domain_type    domain_type;
                                                           ^
14 errors generated.
@k15tfu k15tfu changed the title boost/icl/concept/interval.hpp: error: unused typedef 'domain_compare' / 'domain_type' boost/icl/concept/interval.hpp: error: unused typedef domain_compare & domain_type Oct 15, 2019
@liuqikang
Copy link

is it solved?

@PeterFeicht
Copy link

Seemingly fixed in PR #38, which is not yet released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants