4 Jan
2003
4 Jan
'03
8:10 a.m.
In-Reply-To:
After I move the line 'using std namespace', the error still occurs. The error occurs in file date_time/time_duration.hpp, line 66. min_type minutes() const { return std::abs(((ticks() / (60*rep_type::res_adjust())) % 60)); }
For VC++ 7.1, we've enabled by default conformant overloads of abs that were previously disabled by default. As a result, you'll need to cast the result of your math to a specific type to ensure you get the abs you want. Martyn Lovell Software Architect Visual C++ Team - Libraries email: lnytram@tfosorcim.moc [Spam-avoidance: reverse each word in the email address before use] This posting is provided "AS IS" with no warranties, and confers no rights.