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

Compile error with g++-4.8 #24

Closed
springmeyer opened this issue Feb 10, 2014 · 0 comments
Closed

Compile error with g++-4.8 #24

springmeyer opened this issue Feb 10, 2014 · 0 comments

Comments

@springmeyer
Copy link

Seeing that clang++ is working with master branch but not g++, on travis (https://travis-ci.org/osmcode/libosmium/jobs/18206306#L581).

g++-4.8 -O3 -std=c++11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wold-style-cast -o osmium_mpdump osmium_mpdump.cpp  -lexpat -pthread -lz -lprotobuf-lite -losmpbf -lz -lbz2
In file included from ../include/osmium/relations/collector.hpp:51:0,
                 from ../include/osmium/area/collector.hpp:44,
                 from osmium_mpdump.cpp:17:
../include/osmium/relations/detail/member_meta.hpp: In function ‘constexpr bool osmium::relations::operator<(const osmium::relations::MemberMeta&, const osmium::relations::MemberMeta&)’:
../include/osmium/relations/detail/member_meta.hpp:102:32: error: call to non-constexpr function ‘osmium::object_id_type osmium::relations::MemberMeta::member_id() const’
@joto joto closed this as completed in 4c98b0e Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant