Tag: apr

在函数’APR_DECLARE’中:错误:’apr_strerror’之前的预期声明说明符

我在C程序中使用apr,我包含appr_error.h头文件,但是在构建过程中出现错误: 在函数’APR_DECLARE’中:错误:’apr_strerror’之前的预期声明说明符 这是头文件中的违规行: /** * Return a human readable string describing the specified error. * @param statcode The error code the get a string for. * @param buf A buffer to hold the error string. * @param bufsize Size of the buffer to hold the string. */ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf, apr_size_t bufsize); […]