Opened 8 years ago

Last modified 6 years ago

#10801 new Bugs

Used uninitialized error in boyer_myrvold_impl.hpp

Reported by: wanglurg@… Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

I met an error when using boyer_myrvold_planar_test() function in Boost_1_55_0 to generate the kuratowski subgraph. Error message is listed as follows:

./boost/graph/planar_detail/boyer_myrvold_impl.hpp:1545:11 error: 'z' may be used uninitialized in this function.

I added a "Wno-maybe-uninitialized" flag to Makefile to remove this error temporarily, but it's not a good method. I'm looking for a better way to fix this.

Change History (1)

comment:1 by Murray Cumming <murrayc@…>, 6 years ago

This was fixed a while ago, apparently in response to this bug: https://github.com/boostorg/graph/commit/ffb6218f07cc9dd55a454d2623eb1708ff65c2da

It should appear in the next release: boost 1.62.

I would close this bug if I had access rights to do that.

Note: See TracTickets for help on using tickets.