Define _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS for recent versions of Visual C++

RESOLVED FIXED in 4.8.7

Status

NSPR
NSPR
P2
normal
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Wan-Teh Chang, Assigned: Wan-Teh Chang)

Tracking

other
4.8.7
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Created attachment 459995 [details] [diff] [review]
Proposed patch

The attached patch defines _CRT_SECURE_NO_WARNINGS and
_CRT_NONSTDC_NO_WARNINGS for recent versions of Visual C++
to turn off deprecation warnings.  See
http://msdn.microsoft.com/en-us/library/8ef0s5kh(VS.80).aspx

The patch is modeled after the relevant code in
mozilla/configure.in.
Attachment #459995 - Flags: review?(benjamin)
(Assignee)

Comment 1

8 years ago
I checked in the patch on the NSPR trunk (NSPR 4.8.7).

Checking in configure;
/cvsroot/mozilla/nsprpub/configure,v  <--  configure
new revision: 1.285; previous revision: 1.284
done
Checking in configure.in;
/cvsroot/mozilla/nsprpub/configure.in,v  <--  configure.in
new revision: 1.289; previous revision: 1.288
done
Status: NEW → RESOLVED
Last Resolved: 8 years ago
OS: Windows 7 → Windows XP
Resolution: --- → FIXED

Updated

8 years ago
Attachment #459995 - Flags: review?(benjamin) → review+
You need to log in before you can comment on or make changes to this bug.