Opened 15 years ago

Closed 14 years ago

#1609 closed Patches (fixed)

patch to suppress warnings if _CRT-/_SCL_SECURE_NO_DEPRECATE were already defined

Reported by: Sebastian Ramacher <s.ramacher@…> Owned by: Beman Dawes
Milestone: Boost 1.36.0 Component: system
Version: Boost 1.35.0 Severity: Cosmetic
Keywords: Cc:

Description

The patch adds #ifdef/#endif around the #defines of _CRT_SECURE_NO_DEPRECATE and _SCL_SECURE_NO_DEPRECATE to suppress warnings if they were already defined.

Attachments (2)

system_error_code.cpp.patch (706 bytes ) - added by Sebastian Ramacher <s.ramacher@…> 15 years ago.
system_error_code.cpp.2.patch (708 bytes ) - added by Sebastian Ramacher <s.ramacher@…> 15 years ago.
corrected version

Download all attachments as: .zip

Change History (3)

by Sebastian Ramacher <s.ramacher@…>, 15 years ago

Attachment: system_error_code.cpp.patch added

by Sebastian Ramacher <s.ramacher@…>, 15 years ago

corrected version

comment:1 by Beman Dawes, 14 years ago

Milestone: To Be DeterminedBoost 1.36.0
Resolution: fixed
Status: newclosed
Version: Boost Development TrunkBoost 1.35.0

Fixed by including <boost/config/disable_warnings.hpp>

Note: See TracTickets for help on using tickets.