Closed
Bug 1120772
Opened 9 years ago
Closed 9 years ago
NSPR's definition of snprintf breaks build when MSVC 2015 is used
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.10.8
People
(Reporter: briansmith, Assigned: briansmith)
Details
Attachments
(1 file)
747 bytes,
patch
|
briansmith
:
review+
wtc
:
review+
|
Details | Diff | Splinter Review |
MSVC 2015 finally added snprintf. MSVC 2015's stdio.h contains this: #ifdef vsnprintf #error Macro definition of vsnprintf conflicts with Standard Library function declaration #endif #ifdef snprintf #error Macro definition of snprintf conflicts with Standard Library function declaration #endif This means we must be careful to never define snprintf or vsnprintf as macros when building with MSVC 2015.
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → 4.10.8
Assignee | ||
Comment 2•9 years ago
|
||
http://hg.mozilla.org/projects/nspr/rev/e27c8f0bdd5d Also tagged this NSPR_4_10_8_BETA3 so that I can land it in mozilla-inbound: http://hg.mozilla.org/projects/nspr/rev/ab846cd2b379
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Attachment #8547925 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•