
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 13 April 2009, Peter Dimov wrote:
There is no test for this. You need to verify that bind.hpp still works with precompiled headers when included in more than one translation unit.
Oh I see. No, it doesn't work in that case, I get errors like: main.o:(.bss+0x8): multiple definition of `(anonymous namespace)::_1' a.o:(.bss+0x8): first defined here collect2: ld returned 1 exit status However, using the definitions of the placeholders provided for MSVC: static boost::arg<1> _1; does work for gcc 4.0.1, for all cases: the bind tests, multiple translation units with a precompiled header, and forwarding of the placeholder as a const reference. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknjpOUACgkQ5vihyNWuA4Wa7wCglMaW6B1AsggUKdToT7GfqPZS aBQAnjbdynw/ZrzPPGjIzbltF7NPfNu8 =wKeh -----END PGP SIGNATURE-----