Warning spam when compiling zlib
Categories
(Firefox Build System :: General, task)
Tracking
(firefox112 fixed)
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: rkraesig, Assigned: rkraesig)
References
Details
Attachments
(1 external file)
zlib still uses K&R-style function declarations. Since those have been removed in the latest draft of C2x, Clang 15 warns about them by default.
In the relevant GitHub issue, the author has indicated that they will not address this until C2x is published. Until that happens, we can't do anything constructive about those warnings; for now, we should just silence them.
| Assignee | ||
Comment 1•3 years ago
|
||
zlib still uses K&R-style function declarations. As of clang 15, these
are warned about by default, as they've been removed in the latest draft
of C2x; this results in thousands(?) of lines of warnings when building
zlib in-tree.
An issue has been filed at https://github.com/madler/zlib/issues/633,
but the author has stated that they are unwilling to change this until
C2x has actually been published.
For now, just silence those warnings when building zlib.
Comment 3•3 years ago
|
||
| bugherder | ||
Description
•