Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#3600 closed Bugs (fixed)

[tribool] BOOST_TRIBOOL_THIRD_STATE produces warning

Reported by: anonymous Owned by: Douglas Gregor
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.)

Attachments (1)

tribool.patch (726 bytes) - added by Jeremiah Willcock 8 years ago.
Patch to fix problem

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by anonymous

Component: Nonelogic
Owner: set to Douglas Gregor

Changed 8 years ago by Jeremiah Willcock

Attachment: tribool.patch added

Patch to fix problem

comment:2 Changed 8 years ago by Jeremiah Willcock

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

comment:3 Changed 8 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

comment:4 Changed 7 years ago by Daniel James

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

comment:5 Changed 7 years ago by anonymous

Milestone: Boost 1.41.0Boost 1.47.0

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Douglas Gregor.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.