[Boost-bugs] [Boost C++ Libraries] #9646: signed/unsigned comparison in airy.hpp on develop

Subject: [Boost-bugs] [Boost C++ Libraries] #9646: signed/unsigned comparison in airy.hpp on develop
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-09 11:31:32


#9646: signed/unsigned comparison in airy.hpp on develop
-------------------------------------+-------------------------
 Reporter: mgaunard | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost Development Trunk | Severity: Problem
 Keywords: math warning |
-------------------------------------+-------------------------
 On develop, there is a signed/unsigned comparison in airy.hpp

 /home/nt2/dev/boost/boost/math/special_functions/airy.hpp:392:26: warning:
 comparison of integers of different signs: 'unsigned int' and 'int'
 [-Wsign-compare]
    for(unsigned i = 0; i < static_cast<int>(number_of_zeros); ++i)
                        ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 warning generated.

 This issue is not present on the master branch.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9646>
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:15 UTC