c++ - C 中的 Doxygen 错误

标签 c++ c function warnings doxygen

doxygen 中函数的注释有什么错误?

///////////////////////////////////////////////////
///@brief : create_node that will create new node 
///     that can be used by user 
///@param : value:unsigned integer number
///@return : returns newly generated node
//////////////////////////////////////////////////

错误:-

警告:create_node(unsigned int value) 的以下参数未记录: 参数“值”

此警告对于我的 c 文件中的所有函数都很常见。

有警告,它也以正确的方式记录文件。比为什么警告??

最佳答案

请尝试使用:

/**
* @brief  create_node that will create new node that can be used by user 
* @param  value:unsigned integer number
* @return  returns newly generated node
*/

我从来没有遇到过这种风格的问题。

关于c++ - C 中的 Doxygen 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21226596/

相关文章:

c++ - 初始化结构中的常量数组

c++ - 如果发送进程停止,boost::interprocess::timed_receive() 永远不会返回

c++ - 错误 C2057 : expected constant expression

c++ - 返回 'auto' 的函数在定义之前不能使用

c++ - 为什么 C++ 不需要 "new"语句来初始化 std::vector?

c++ - 单引号在 C++ 中用于多个字符时有什么作用?

C - n-ary 树的根未被保存/更新

c - 使用 ZeroMQ 和 ProtocolBuffers 发送结构

r - 使用多列作为参数应用函数,函数返回一个 data.frame

ios - 我的导航 Controller 代码在 swift 中出现问题