Opened 13 years ago

Closed 13 years ago

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

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 (1)

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

Download all attachments as: .zip

Change History (6)

comment:1 by anonymous, 13 years ago

Component: Nonelogic
Owner: set to Douglas Gregor

by Jeremiah Willcock, 13 years ago

Attachment: tribool.patch added

Patch to fix problem

comment:2 by Jeremiah Willcock, 13 years ago

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

comment:3 by Jeremiah Willcock, 13 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by Daniel James, 12 years ago

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

comment:5 by anonymous, 12 years ago

Milestone: Boost 1.41.0Boost 1.47.0
Note: See TracTickets for help on using tickets.