Opened 11 years ago

Closed 11 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@…> 11 years ago.
system_error_code.cpp.2.patch (708 bytes) - added by Sebastian Ramacher <s.ramacher@…> 11 years ago.
corrected version

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Sebastian Ramacher <s.ramacher@…>

Attachment: system_error_code.cpp.patch added

Changed 11 years ago by Sebastian Ramacher <s.ramacher@…>

corrected version

comment:1 Changed 11 years ago by Beman Dawes

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.