[Boost-bugs] [Boost C++ Libraries] #12373: Basic sign conversion

Subject: [Boost-bugs] [Boost C++ Libraries] #12373: Basic sign conversion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-03 07:10:11

#12373: Basic sign conversion
 Reporter: Brett Hale <brettyhale@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.61.0 | Severity: Cosmetic
 Keywords: |
 Mature libraries like boost.filesystem shouldn't be giving these sorts of
 errors with '-Wconversion' checks...

       implicit conversion changes signedness: 'size_type' (aka 'unsigned
       to 'streamsize' (aka 'long') [-Wsign-conversion]
   file.write(str.c_str(), str.size());
   ~~~~ ^~~~~~~~~~
       implicit conversion changes signedness: 'std::size_t'
       (aka 'unsigned long') to 'streamsize' (aka 'long') [-Wsign-
   file.read(&str[0], sz);


Ticket URL: <https://svn.boost.org/trac/boost/ticket/12373>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC