[ptr_container] warnings about shadowed members
Hello,
I am trying Boost 1.33 ptr_container with GCC 4.0.1 on Linux.
When including a ptr_container header (say, ptr_vector.hpp),
compiling code with the "-Wshadow" flag, some warnings are
issued about shadowed members. I am wondering if this might be a
problem, even if my snippet code compiles and seems to run fine
so far for me.
output example (with boost/ in current directory) :
$ cat main.cpp
#include
Samuel Landau
Hello,
I am trying Boost 1.33 ptr_container with GCC 4.0.1 on Linux. When including a ptr_container header (say, ptr_vector.hpp), compiling code with the "-Wshadow" flag, some warnings are issued about shadowed members. I am wondering if this might be a problem, even if my snippet code compiles and seems to run fine so far for me.
Can you produce a test case that shows that the containers behave differently than they are specified to do? If so, why should we use time on this? -Thorsten
participants (2)
-
Samuel Landau
-
Thorsten Ottosen