Opened 12 years ago

Closed 12 years ago

#4433 closed Patches (fixed)

there is no warning number '4284'

Reported by: Braden McDaniel <braden@…> Owned by: Peter Dimov
Milestone: Boost 1.44.0 Component: smart_ptr
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

boost/smart_ptr/shared_ptr.hpp line 55 elicits the warning

C4619: #pragma warning : there is no warning number '4284'

from Visual C++ 2010. Apparently modern versions of the Microsoft compiler have retired this one to the point of being completely oblivious to it. Presumably this pragma should be made active only for older releases of the Microsoft compiler.

Attachments (1)

4433-no-pragma-for-unused-warning.patch (1.3 KB ) - added by Matthew Bradbury <matt-bradbury@…> 12 years ago.
Disable the pragma on Visual Studio 10

Download all attachments as: .zip

Change History (6)

comment:1 by Matthew Bradbury <matt-bradbury@…>, 12 years ago

The same warning also occurs in boost/smart_ptr/intrusive_ptr.hpp on line 20

by Matthew Bradbury <matt-bradbury@…>, 12 years ago

Disable the pragma on Visual Studio 10

comment:2 by Matthew Bradbury <matt-bradbury@…>, 12 years ago

Type: BugsPatches

comment:3 by Peter Dimov, 12 years ago

Status: newassigned

comment:4 by Peter Dimov, 12 years ago

(In [69245]) Warning 4284 is obsolete. Refs #4433.

comment:5 by Peter Dimov, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [70434]) Merge [69245] to release. Fixes #4433.

Note: See TracTickets for help on using tickets.