COIN-OR::LEMON - Graph Library

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#469 closed defect (fixed)

map_test hangs with gcc 4.7/4.8

Reported by: alpar Owned by: alpar
Priority: blocker Milestone: LEMON 1.3 release
Component: core Version: hg main
Keywords: Cc:
Revision id: 490d89913a17

Description

The problem occur in optimized mode only (-DCMAKE_BUILD_TYPE=Release ), and only with gcc 4.7 and 4.8.

map_test passes normally with gcc 3.3 and 4.3.

Change History (3)

comment:1 Changed 4 years ago by alpar

  • Resolution set to fixed
  • Status changed from new to closed

The issue is fixed in [8a3fb3155dca].

comment:2 Changed 4 years ago by alpar

Fixed in [8a3fb3155dca].

The reason was a common error - a map adaptor was initialized with a temporal object. It is a bit odd that the compiler cannot warn about this kind of mistake, especially in the light of #470.

comment:3 Changed 4 years ago by alpar

The fix has also been backported to branch 1.2 as [e13061207f85]

Note: See TracTickets for help on using tickets.