Re: [Boost-bugs] [Boost C++ Libraries] #8767: Unused variable warnings

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8767: Unused variable warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-03 19:02:36

#8767: Unused variable warnings
  Reporter: rmann@… | Owner: jewillco
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:

Comment (by rmann@…):

 Sorry, yes, this is with clang.

 I'm not sure what you're asking for. I can tell you exactly where in the
 file this happens. It's <named_function_params.hpp:333>, where the
 BOOST_BGL_DECLARE_NAMED_PARAMS macro is expanded. I dealt with it by
 replacing that line with:

 #if __clang__
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wunused-variable"
 #if __clang__
 #pragma clang diagnostic pop

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

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