Project

General

Profile

Actions

Bug #5378

closed

unused doc warnings on mingw64/windows compile

Added by Peter Manev over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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
Actions #1

Updated by Victor Julien over 2 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
Actions

Also available in: Atom PDF