Ticket #3600 (closed Bugs: fixed)

Opened 6 years ago

Last modified 5 years ago

[tribool] BOOST_TRIBOOL_THIRD_STATE produces warning

Reported by: anonymous Owned by: dgregor
Milestone: Boost 1.47.0 Component: logic
Version: Boost 1.40.0 Severity: Problem
Keywords: warning tribool Cc:


#include <boost/logic/tribool.hpp> BOOST_TRIBOOL_THIRD_STATE(ignore)

leads to a compiler warning (gcc 4.2.1)

warning: unused parameter 'dummy'

(Sorry, could not find a suitable component.)


tribool.patch Download (726 bytes) - added by jewillco 6 years ago.
Patch to fix problem

Change History

comment:1 Changed 6 years ago by anonymous

  • Owner set to dgregor
  • Component changed from None to logic

Changed 6 years ago by jewillco

Patch to fix problem

comment:2 Changed 6 years ago by jewillco

I added a fix for this problem. Is it OK to commit it to the trunk?

comment:3 Changed 6 years ago by jewillco

  • Status changed from new to closed
  • Resolution set to fixed

(In [58007]) Removed unused parameter; fixes #3600

comment:4 Changed 5 years ago by danieljames

(In [70520]) Logic: merge old warning fixes.

comment:5 Changed 5 years ago by anonymous

  • Milestone changed from Boost 1.41.0 to Boost 1.47.0

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.