Boost logo

Boost Users :

Subject: Re: [Boost-users] [EXTERNAL] Error "Used Uninitialized" in boyer_myrvold_impl.hpp
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2014-11-18 22:20:16


On Nov 18, 2014, at 5:32 PM, wanglurg <wanglurg_at_[hidden]> wrote:

> I'm a new boost graph library user. 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. Does anyone encounter the same case?

I just pushed this commit to develop that should fix this warning, thanks for reporting this.

— Noel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net