Actions
Bug #5378
closedunused doc warnings on mingw64/windows compile
Affected Versions:
Effort:
Difficulty:
Label:
Description
Compiling kerberos-parser v0.5.0
Compiling suricata v6.0.5 (C:\msys64\home\Administrator\suricata-6.0.5\rust)
warning: unused doc comment
--> src\core.rs:224:1
|
224 | /// Extern functions operating on Flow.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
225 | / extern {
226 | | pub fn FlowGetLastTimeAsParts(flow: &Flow, secs: *mut u64, usecs: *mut u64);
227 | | }
| |_- rustdoc does not generate documentation for extern block
|
= note: `#[warn(unused_doc_comments)]` on by default
= help: use `//` for a plain comment
warning: unused doc comment
--> src\http2\http2.rs:1013:1
|
1013 | /// Extern functions operating on HTTP2.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1014 | / extern "C" {
1015 | | pub fn HTTP2MimicHttp1Request(
1016 | | orig_state: *mut std::os::raw::c_void, new_state: *mut std::os::raw::c_void,
1017 | | );
1018 | | }
| |_- rustdoc does not generate documentation for extern block
|
= help: use `//` for a plain comment
Building [=======================> ] 127/128: suricata
Updated by Victor Julien over 3 years ago
- Status changed from New to Closed
- Assignee changed from OISF Dev to Jeff Lucovsky
- Target version changed from TBD to 6.0.6
https://github.com/OISF/suricata/pull/7437/commits/aa396f4f5e1b971b4250813e0e551d1479b2b15d
Issue was not windows specific.
Actions