-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
C/C++UsageThe mentioned problem is not a doxygen problem but due to usage of a feature.The mentioned problem is not a doxygen problem but due to usage of a feature.
Description
Setup
- doxygen v1.8.13
- WSL2 Ubuntu 18.04 on Windows 10 22H2
Context
I want to document the following function defined in my_lib.h:
/**
* @brief Compute CRC
*
* @param [in] buf : my buf
* @param [in] size : size of my buf
* @param [out] crc_buf : buffer containing crc results
*/
void my_lib_compute_crc(uint8_t *buf, unsigned int size,
uint8_t crc_buf[CRC_SIZE]);
Its definition is located in my_lib.c file:
void my_lib_compute_crc(uint8_t *buf, unsigned int size,
uint8_t crc_buf[CRC_SIZE])
{
uint16_t crc;
crc = 12;
memcpy(crc_buf, &crc, sizeof(crc));
}
Problem
When I execute doxygen I've the following error:
Generating docs for file my_lib.c...
src/my_lib.c:20: error: Member my_lib_compute_crc(uint8_t *buf, unsigned int size, uint8_t crc_buf[CRC_SIZE]) (function) of file my_lib.c is not documented. (warning treated as error, aborting now)
I know that the Doxygen version I used is pretty old but I didn't succeeded to find a similar issue already managed in Doxygen release changelogs nor Github issues.
Note
You can find my complet projet into the attached zip archive. There is my Doxyfile in it.
doxygen_array_fn_param_issue.zip
Metadata
Metadata
Assignees
Labels
C/C++UsageThe mentioned problem is not a doxygen problem but due to usage of a feature.The mentioned problem is not a doxygen problem but due to usage of a feature.