Opened 8 years ago

Closed 8 years ago

#11042 closed Patches (fixed)

MSVC level 4 compiler warnings in signals2 and funtion_output_iterator

Reported by: Erik Levin <p.erik.d.levin@…> Owned by: Frank Mori Hess
Milestone: To Be Determined Component: signals2
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc:

Description

When compiling a project using signals2 (boost v. 1.56) with warning level 4 (/W4) in Visual Studio 2013, warnings are generated on the files signal_template.hpp and function_output_iterator.hpp.

The warning is C4512: assignment operator could not be generated.

Supplying patch which solves the issue by declaring those classes noncopyable.

Attachments (1)

signals.patch (1.2 KB ) - added by Erik Levin <p.erik.d.levin@…> 8 years ago.

Download all attachments as: .zip

Change History (4)

by Erik Levin <p.erik.d.levin@…>, 8 years ago

Attachment: signals.patch added

comment:1 by Frank Mori Hess, 8 years ago

I don't mind making your suggested change to signal_template.hpp, but function_output_iterator.hpp is not a part of Boost.Signals2, it is part of Boost.Iterator. You should submit a ticket against that library.

comment:2 by anonymous, 8 years ago

Ah. I'll do that, thanks.

comment:3 by Frank Mori Hess, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.