错误:字段'dateOfBirth'的类型不完整'Poco::Data::Date'



>我正在尝试使用POCO库来存储出生日期。

#include <Poco/DateTime.h>
#include <Poco/Data/Time.h>
void main()
{
Poco::Data::Date dateOfBirth;
}

但是在编译时我收到错误:

错误:字段"出生日期"的类型不完整"Poco::D ata::D ate">

#include <Poco/Data/Date.h>

应包含此头文件

最新更新