Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Linux build with g++ broken #240

Closed

Description

@springmeyer

Appears broken since 05882c0.

../../src/util/transition.cpp
../../src/util/transition.cpp:31:67: error: specialization of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ in different namespace [-fpermissive]
 transition::state ease_transition<double>::update(llmr::time now) const {
                                                                   ^
In file included from ../../src/util/transition.cpp:1:0:
../../include/llmr/util/transition.hpp:51:11: error:   from definition of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ [-fpermissive]
     state update(time now) const;
           ^
../../src/util/transition.cpp:43:72: error: specialization of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ in different namespace [-fpermissive]
 transition::state ease_transition<llmr::Color>::update(llmr::time now) const {
                                                                        ^
In file included from ../../src/util/transition.cpp:1:0:
../../include/llmr/util/transition.hpp:51:11: error:   from definition of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ [-fpermissive]
     state update(time now) const;
           ^
../../src/util/transition.cpp:55:66: error: specialization of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ in different namespace [-fpermissive]
 transition::state ease_transition<float>::update(llmr::time now) const {
                                                                  ^
In file included from ../../src/util/transition.cpp:1:0:
../../include/llmr/util/transition.hpp:51:11: error:   from definition of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ [-fpermissive]
     state update(time now) const;
           ^
../../src/util/transition.cpp:67:81: error: specialization of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ in different namespace [-fpermissive]
 transition::state ease_transition<std::array<float, 2>>::update(llmr::time now) const {
                                                                                 ^
In file included from ../../src/util/transition.cpp:1:0:
../../include/llmr/util/transition.hpp:51:11: error:   from definition of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ [-fpermissive]
     state update(time now) const;
           ^
make[1]: *** [../Release/obj.target/llmr-x86/src/util/transition.o] Error 1
make[1]: Leaving directory `/home/travis/build/mapbox/llmr-native/build/llmr'
make: *** [llmr] Error 2

The command "make llmr" exited with 2.

Activity

  1. incanus commented on May 24, 2014

    @incanus
    Contributor

    Hmm, this seems fairly literal to me, is that a good avenue to pursue?

    ../../src/util/transition.cpp:43:72: error: specialization of ‘template<class T> llmr::util::transition::state llmr::util::ease_transition<T>::update(llmr::time) const’ in different namespace [-fpermissive]
    

    i.e. something about not setting up these template specializations in the right namespace?

  2. incanus commented on May 24, 2014

    @incanus
    Contributor

    Also can we just use -fpermissive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions