Opened 19 years ago

Closed 18 years ago

#251 closed Bugs (Fixed)

examples/kruskal-example.cpp shadows variables

Reported by: nobody Owned by: Douglas Gregor
Milestone: Component: graph
Version: None Severity:
Keywords: Cc:

Description

$g++ -Wshadow -Wall kruskal-example.cpp -lbgl-viz

generates a lot of shadow warnings, making it
impossible to use kruskal-example related code in a
program that is supposed to be shadow-free.

$g++ --version                                   
g++ (GCC) 3.3.3 (Debian 20040321)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Change History (2)

comment:1 by Douglas Gregor, 18 years ago

Logged In: YES 
user_id=249098

Wow, that is a lot of warnings! There are too many fixes needed to do 
this for 1.32.0, but we'll get it fixed afterward.

comment:2 by Douglas Gregor, 18 years ago

Status: assignedclosed
Logged In: YES 
user_id=249098

Fixed code to eliminate all shadow warnings for Boost 1.33.0.
Note: See TracTickets for help on using tickets.