Closed
Bug 1317949
Opened 8 years ago
Closed 8 years ago
Fails to build RTCCertificate.cpp with gcc 7.0
Categories
(Core :: WebRTC, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1335075
People
(Reporter: Sylvestre, Unassigned)
References
Details
An experimental version of gcc 7 is available in Debian https://tracker.debian.org/pkg/gcc-7
Trying to build Firefox with it, it fails on the warning here:
/root/firefox-gcc-last/dom/media/webrtc/RTCCertificate.cpp:84:12: error: output truncated before the last format character [-Werror=format-length=]
nsresult GenerateCertificate()
^~~~~~~~~~~~~~~~~~~
/root/firefox-gcc-last/dom/media/webrtc/RTCCertificate.cpp:77:58: note: format output 3 bytes into a destination of size 2
snprintf(&buf[i * 2 + 3], 2, "%.2x", randomName[i]);
^
Comment 2•8 years ago
|
||
Looks good to my analysis. Likely compiler bug. Admittedly you really need to look...
Flags: needinfo?(rjesup)
Updated•8 years ago
|
Rank: 37
Priority: -- → P3
Reporter | ||
Updated•8 years ago
|
Blocks: build-gcc-7
Reporter | ||
Comment 3•8 years ago
|
||
Sorry for the noise, seems that I need holidays :)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•