Opened 6 years ago

Last modified 5 days ago

#5505 assigned Bugs

Format : int conversion to bool warning

Reported by: Akira Takahashi <faithandbrave@…> Owned by: James E. King, III
Milestone: To Be Determined Component: format
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc:


VC++2008, warning level 4

template<class Ch, class Facet> inline
bool wrap_isdigit(const Facet& fac, Ch c) {
    return isdigit(c);

boost_1_46_1/boost/format/parsing.hpp(53) : warning C4800

should be

return isdigit(c) != 0;

Attachments (0)

Change History (1)

comment:1 Changed 5 days ago by James E. King, III

Owner: changed from Samuel Krempp to James E. King, III
Status: newassigned

Resolved in Boost 1.59.0

Leaving open until Milestone can be set.

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain James E. King, III.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.