Modify

Ticket #3600 (closed Bugs: fixed)

Opened 4 years ago

Last modified 3 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:

Description

#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.)

Attachments

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

Change History

comment:1 Changed 4 years ago by anonymous

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

Changed 4 years ago by jewillco

Patch to fix problem

comment:2 Changed 4 years ago by jewillco

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

comment:3 Changed 4 years ago by jewillco

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

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

comment:4 Changed 3 years ago by danieljames

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

comment:5 Changed 3 years ago by anonymous

  • Milestone changed from Boost 1.41.0 to Boost 1.47.0
View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.