|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-28 13:38:36
From: "Benedikt Weber" <weber_at_[hidden]>
> I received this email and post it here as an alternative. I am not sure
> though if is portable.
>
> Benedikt
>
> -------------------------------------------------------------------------
--- > ----- > > another way of removing the warnings that works with CodeWarrior is to add a > void statement that refers to the argument: > > size_type size1 (size_type size1, size_type size2) { > (void) size2; > return size1; > } Works with almost everything, except older EDG compilers. However, nobody complains about the unnamed/unused parameter. -Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk