Boost logo

Boost :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-08-05 11:47:28


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 05 August 2008 11:26 am, John Maddock wrote:
> $ g++ -I. -Wall -Wshadow -c t.cpp 2>&1 | less
>
> t.cpp: In function `void f(T)':
> t.cpp:6: warning: shadowing built-in function `double std::acos(double)'
> t.cpp: In function `void f(T) [with T = double]':
> t.cpp:12: instantiated from here
> t.cpp:6: warning: shadowing built-in function `double std::acos(double)'
> t.cpp:12: instantiated from here

I don't get any warnings with g++ 4.1.2. What version of gcc are you using?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFImHYQ5vihyNWuA4URAntzAJ4jumKo5rIhyQ54JTBeOj5vOTeJgwCgzFPY
NfRdZi4JRE6U1VhiBBo+upM=
=Ua27
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk