Boost logo

Boost :

From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2004-01-06 21:38:29


I am using Boost CVS 20040104. date_time is generating shadow warnings
again. Fortunately, I see only one.

boost/date_time/int_adapter.hpp, line 441:
  int_adapter mult_div_specials(const int& rhs) const
  {
    int min;

shadows line 63:
  static int_adapter min()
  {
    return ::std::numeric_limits<int_type>::min()+1;
  }

As usual the fix is to rename the local variable.

Also, my message about an unused parameter warning in date_time hasn't
gotten a response yet. (That message is at:
http://lists.boost.org/MailArchives/boost/msg33864.php )

Stephan T. Lavavej
http://nuwen.net


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