Closed Bug 326912 Opened 19 years ago Closed 19 years ago

Warnings about deprecation (C4996) when compiling firefox with VC8 express

Categories

(Firefox Build System :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: regis.caspar+bz, Assigned: benjamin)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060211 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060211 Firefox/1.6a1 cl.exe issues lots of useless warnings that can be avoided by defining _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE Reproducible: Always Steps to Reproduce: 1. compile firefox with msvc 8 express edition Actual Results: lots of warnings like "warning C4996: 'strcpy' was declared deprecated Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'" Expected Results: No warning Note: when using CFLAGS="-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE" CXXFLAGS="-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE" CPPFLAGS="-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE" environement variables warning are issued only when building nss
more descriptive summary
Summary: Warnings when compiling firefox with VC8 express → Warnings about deprecation (C4996) when compiling firefox with VC8 express
Assignee: nobody → benjamin
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #211768 - Flags: review?(vladimir)
Comment on attachment 211768 [details] [diff] [review] Supress stupid warnings, rev. 1 r=vladimir conditional on review of bug 326849 ;)
Attachment #211768 - Flags: review?(vladimir) → review+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
(In reply to comment #2) > Supress stupid warnings, rev. 1 Why is a warning that you shouldn't use strcpy stupid?
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: