
13 Apr
2009
13 Apr
'09
9:07 p.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 13 April 2009, Peter Dimov wrote:
Frank Mori Hess:
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:
It works, but produces annoying "variable not used" warnings. :-)
I haven't seen them, using -Wall and -Wunused-variable. In any case, gcc does have an "unused" attribute which can be used to suppress that warning for specific variables. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknjqYAACgkQ5vihyNWuA4W0UACcCruS/cal7Qodifa/FWWB37dJ CfEAn0RaH/kvbwRJV61vUurf+yPvaBV4 =BxY/ -----END PGP SIGNATURE-----