This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Linux build with g++ broken #240
Copy link
Copy link
Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels
Activity
incanus commentedon May 24, 2014
Hmm, this seems fairly literal to me, is that a good avenue to pursue?
i.e. something about not setting up these template specializations in the right namespace?
incanus commentedon May 24, 2014
Also can we just use
-fpermissive?[qt] Set defaultStyles to const (mapbox#240)