Opened 6 years ago

Closed 6 years ago

#12443 closed Bugs (fixed)

Missed include of <iostream> in boost/geometry/algorithms/detail/overlay/handle_colocations.hpp

Reported by: jacek.tomaka@… Owned by: Barend Gehrels
Milestone: Boost 1.63.0 Component: geometry
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

Compiling my program on gcc 5.1 does not work. Here is the error: boost/geometry/algorithms/detail/overlay/handle_colocations.hpp:198:5: error: ‘cout’ is not a member of ‘std’ std::cout << " TODO: merge " << cid0 << " and " << cid1 << std::endl;

Change History (8)

comment:1 by boost@…, 6 years ago

Same here with 6.2.1. It happens as soon as you include boost/geometry/index/rtree.hpp.

Judging from the code, there are two instances that should be wrapped with BOOST_GEOMETRY_DEBUG_HANDLE_COLOCATIONS as well:

  • line 198
  • line 318

comment:2 by Barend Gehrels, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0
Resolution: fixed
Status: newclosed

What is 6.2.1? Should be fixed in Boost 1.62.0

comment:3 by boost@…, 6 years ago

Sorry, I meant GCC version 6.2.1.

comment:4 by Barend Gehrels, 6 years ago

OK, thanks - it should be fixed now in all GCC versions, for boost 1.62 (to be released soon)

comment:5 by samuel.chui@…, 6 years ago

It seems that the issue still exists in 1.62.

  • handle_colocations.hpp:201
  • handle_colocations.hpp:320

are not wrapped with BOOST_GEOMETRY_DEBUG_HANDLE_COLOCATIONS

in reply to:  5 comment:6 by anonymous, 6 years ago

Resolution: fixed
Status: closedreopened

Reopening ticket

Replying to samuel.chui@…:

It seems that the issue still exists in 1.62.

  • handle_colocations.hpp:201
  • handle_colocations.hpp:320

are not wrapped with BOOST_GEOMETRY_DEBUG_HANDLE_COLOCATIONS

comment:7 by Barend Gehrels, 6 years ago

Milestone: Boost 1.62.0Boost 1.63.0

Sorry - indeed. It is fixed, and in time, but in the end it was not merged (my bad). So it will be 1.63, sorry for the inconvenience.

comment:8 by Barend Gehrels, 6 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.