Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1504 closed Bugs (fixed)

[type-traits] VC8 - C4512 warning

Reported by: Richard Webb <Richard.Webb@…> Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

I'm getting a C4512 warning from type-traits when building with VC8 using warning level 4 and code analysis:

boost\type_traits\alignment_of.hpp(39) : warning C4512: 'boost::detail::alignment_of_hack<T>' : assignment operator could not be generated

(the header in question is included via Optional).

The attached patch silences this for me.

Attachments (1)

alignment_of.patch (539 bytes ) - added by Richard Webb <Richard.Webb@…> 15 years ago.

Download all attachments as: .zip

Change History (3)

by Richard Webb <Richard.Webb@…>, 15 years ago

Attachment: alignment_of.patch added

comment:1 by John Maddock, 15 years ago

Resolution: fixed
Status: newclosed

(In [41968]) Fixes #1504.

comment:2 by Eric Niebler, 15 years ago

(In [41984]) Merged revisions 41954-41983 via svnmerge from https://svn.boost.org/svn/boost/trunk

........

r41955 | schoepflin | 2007-12-10 05:40:56 -0800 (Mon, 10 Dec 2007) | 1 line

Treated Rogue Wave library concept check failure on Tru64/CXX.

........

r41956 | dave | 2007-12-10 07:19:21 -0800 (Mon, 10 Dec 2007) | 2 lines

SunPro 5.9 can't detect lvalue returns

........

r41957 | t_schwinger | 2007-12-10 10:26:38 -0800 (Mon, 10 Dec 2007) | 3 lines

changes msvc-7.1 to msvc-7.1*

........

r41966 | johnmaddock | 2007-12-11 08:37:22 -0800 (Tue, 11 Dec 2007) | 1 line

Fixes #1454.

........

r41968 | johnmaddock | 2007-12-11 09:16:21 -0800 (Tue, 11 Dec 2007) | 1 line

Fixes #1504.

........

r41970 | johnmaddock | 2007-12-11 09:19:03 -0800 (Tue, 11 Dec 2007) | 1 line

Fixes #1455.

........

r41973 | johnmaddock | 2007-12-11 09:28:15 -0800 (Tue, 11 Dec 2007) | 1 line

Fixes #1471.

........

r41976 | johnmaddock | 2007-12-11 10:51:57 -0800 (Tue, 11 Dec 2007) | 1 line

Fixes #1474.

........

r41979 | vladimir_prus | 2007-12-11 11:41:47 -0800 (Tue, 11 Dec 2007) | 1 line

Put add-usage-requirements back

........

r41980 | vladimir_prus | 2007-12-11 11:45:37 -0800 (Tue, 11 Dec 2007) | 1 line

Implement ISFILE for real

........

r41981 | vladimir_prus | 2007-12-11 11:46:19 -0800 (Tue, 11 Dec 2007) | 2 lines

When searching for headers, ignore directories, just like gcc does.

........

r41983 | bgubenko | 2007-12-11 12:43:11 -0800 (Tue, 11 Dec 2007) | 1 line

remove conditionalization for aCC: this header works with gcc on HP-UX also

........

Note: See TracTickets for help on using tickets.