Boost logo

Boost :

Subject: Re: [boost] [test] spurious clang complier warnings
From: Andrew Hundt (athundt_at_[hidden])
Date: 2013-03-08 13:49:11


I've actually noticed this in a number of libraries. Clang also warns for
unused global variables, so for some of the boost libraries there are
literally thousands of warnings generated. It is rather painful.

Cheers!
Andrew Hundt

On Fri, Mar 8, 2013 at 1:40 PM, Rhys Ulerich <rhys.ulerich_at_[hidden]> wrote:

> > When I compile my test code with clang on Macintosh (now Apple's default
> compiler), I get the two compiler warnings listed below.
> > ...
> > .../floating_point_comparison.hpp:251:25: warning: unused variable
> 'check_is_close' [-Wunused-variable]
> > .../floating_point_comparison.hpp:273:25: warning: unused variable
> 'check_is_small' [-Wunused-variable]
>
> That happens to be https://svn.boost.org/trac/boost/ticket/5986.
>
> - Rhys
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk