错误:字段'dateOfBirth'的类型不完整'Poco::Data::Date'
error: field 'dateOfBirth' has incomplete type '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>
应包含此头文件
相关文章:
- POCO::PostgreSQL:如何将std::vector支持添加到`Binder::bind`
- 如何处理 c++ 中类实现中的"invalid use of non-static data member"?
- Poco FindMySql.cmake 无法找到 MySQL 源代码
- 'string.assign(string.data(), 5)' 是明确定义的还是 UB?
- 收到错误"invalid use of non-static data member 'stu::n' "
- C++ 初始化 .data 部分中的变量
- 模式"allocate memory or use existing data"
- boost::asio data owning `ConstBufferSequence`
- Python to C++ Data structure API
- 像 POCO 这样的C++图书馆如何访问网络?
- Poco::Net::FTPClientSession 在 open() 方法上挂起 129 秒,如果 ftp 主机不存
- 使用 Poco::Zip 将文件附加到现有 zip 文件
- 当初始值设定项是基类名时'initializer does not name a non-static data member or base class'错误
- protobuf C++ SQLite handle blob data
- 无法使用 Poco 库正确克隆 JSON 数组C++
- Poco 库 PUT 方法未按预期工作,尽管主机、方法、内容类型设置正确
- 错误:字段'dateOfBirth'的类型不完整'Poco::Data::Date'
- Poco::Net::HTTPClientSession json data Content-Type not rece
- 在Poco::Data for SQLite中,是否可以看到生成的sql
- Poco/Data/SQLite/Connector.h: No Such file or directory