Skip to content

"warning: explicit link request could not be resolved" - but I didn't explicitly request a link #10713

@eyalroz

Description

@eyalroz

Describe the bug
I have the following doxygen comment for some method of mine:

/**
 * @brief Create a variant of ::std::unique_pointer for an array in
 * device-global memory.
 * 
 * @tparam T  an array type; _not_ the type of individual elements
 *
 * @param device on which to construct the array of elements
 * @param num_elements the number of elements to allocate
 * @return an ::std::unique_ptr pointing to the constructed T array
  * 
 */

And for every translation unit which includes this header, doxygen gives me:

/path/to/header.hpp:26: warning: explicit link request to 'std::unique_pointer' could not be resolved

I didn't make an explicit link request!

Also strange is that I don't get the same warning about the second appearance of std::unique_ptr.

To Reproduce
Just make sure that comment above is stuck onto a a relevant function.

Expected behavior
No warning. Either there's auto-linkification (which there might be) or there isn't.

Version
1.11.0 (42d0f98*)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions