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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: regis.caspar+bz, Assigned: benjamin)
Details
Attachments
(1 file)
968 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
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
Reporter | ||
Comment 1•19 years ago
|
||
more descriptive summary
Summary: Warnings when compiling firefox with VC8 express → Warnings about deprecation (C4996) when compiling firefox with VC8 express
Assignee | ||
Updated•19 years ago
|
Assignee: nobody → benjamin
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•19 years ago
|
||
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+
Assignee | ||
Comment 4•19 years ago
|
||
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?
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•