Opened 9 years ago

Last modified 8 years ago

#9885 new Patches

path to suppress MSVC 2008 warning C4510 in multi_array/concept_checks.hpp

Reported by: mstahl@… Owned by: Ronald Garcia
Milestone: To Be Determined Component: multi_array
Version: Boost Release Branch Severity: Problem
Keywords: Cc: tml@…

Description

upstreaming patch from LibreOffice project, to fix compiler warnings

Attachments (2)

0001-multi_array-suppress-MSVC-2008-warning-C4510.patch (1.1 KB ) - added by mstahl@… 9 years ago.
msvc2012-warning (9.2 KB ) - added by mstahl@… 8 years ago.
MSVC2012 output for http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx

Download all attachments as: .zip

Change History (4)

comment:1 by Ronald Garcia, 8 years ago

Why does MSVC 2008 issue a warning about generating default constructors? Does it do this for every class for which it cannot generate a default constructor?

comment:2 by mstahl@…, 8 years ago

actually we don't support 2008 anymore on current master, only 2010 or newer... and i've uninstalled 2008 due to lack of disk space.

let me try what happens with 2012 if i remove the patch... looks like it's mangled by the text editor, so i've attached the output.

"Does it do this for every class for which it cannot generate a default constructor?"

our git log indicates there were about 10 fixes for such warnings over the last 3 years, so it looks like some rather special case.

Note: See TracTickets for help on using tickets.