Closed
Bug 1387388
Opened 7 years ago
Closed 7 years ago
Also enable -Wno-implicit-fallthrough when building jsdtoa.cpp (exists now with gcc 7)
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
Now that gcc 7 supports -Wno-implicit-fallthrough, we should use it for js/src/jsdtoa.cpp
Otherwise:
0:33.87 In file included from /root/firefox-gcc-last/js/src/jsdtoa.cpp:65:0:
0:33.87 /root/firefox-gcc-last/js/src/dtoa.c: In function 'double _strtod(DtoaState*, const char*, char**)':
0:33.87 /root/firefox-gcc-last/js/src/dtoa.c:1520:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
0:33.87 sign = 1;
0:33.87 ~~~~~^~~
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8893759 [details]
Bug 1387388 - Disable -Wimplicit-fallthrough when building jsdtoa.cpp (exists now with gcc 7)
https://reviewboard.mozilla.org/r/164864/#review170736
Attachment #8893759 -
Flags: review?(nicolas.b.pierron) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a14375fa041
Disable -Wimplicit-fallthrough when building jsdtoa.cpp (exists now with gcc 7) r=nbp
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•