rtree: order of includes matters #363

Closed
daniel-j-h opened this Issue Sep 9, 2016 · 1 comment

Comments

Projects
None yet
2 participants

I'm currently testing the new Boost 1.62 Beta1 release. Including the rtree header before the parameters header works fine. For the other way around I get errors; here's the first one:

include/boost/geometry/index/parameters.hpp:76:26: error: expected identifier before ‘(’ token

Small self-contained test case:

#include <boost/geometry/index/parameters.hpp>
#include <boost/geometry/index/rtree.hpp>

int main() {}

Found this since I'm using clang-format and recent versions re-order includes alphabetically.

Member

awulkiew commented Dec 27, 2016

Thanks!
Fix: b8b1cc5

awulkiew closed this Dec 27, 2016

awulkiew added the bug label Apr 4, 2017

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