Modify

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:

Description

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

https://github.com/boostorg/format/commit/efc6ccd04ee77eba3db78168e3b7f362d5193b4e

Leaving open until Milestone can be set.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.