🔍 API报错解决方案大全

程序员必备 · 错误查询手册 · AI智能解答

🏠 返回首页

1,305

已收录的API报错解决方案

In file included from /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/src/DataProviderHelper.cpp:12: /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/src/DataProviderHelper.cpp: In static member function ‘static time_t senseauto::data_provider::DataProviderHelper::StringToDataTime(const string&)’: /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/include/private/log/logger.h:66:20: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘char*’ [-Wformat=] 66 | printf("%s.%03d %s: " LOG_TAG ": " fmt "\n", timestamp, (int)milliseconds, level_str, ##__VA_ARGS__); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/include/private/log/logger.h:71:28: note: in expansion of macro ‘LOG_PRINT’ 71 | #define LOGD(fmt, ...) LOG_PRINT(LOG_LEVEL_DEBUG, fmt, ##__VA_ARGS__) | ^~~~~~~~~ /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/src/DataProviderHelper.cpp:76:5: note: in expansion of macro ‘LOGD’ 76 | LOGD("*****StringToDataTime(%s) => %lld\n", timeStr.c_str(), timestamp); | ^~~~ /data/gerrit/workspace_AIBox_repo/AICore/IC_NM_DataProvider/data_provider/src/DataProviderHelper.cpp:76:43: note: format string is defined here 76 | LOGD("*****StringToDataTime(%s) => %lld\n", timeStr.c_str(), timestamp); | ~~~^ | | | long long int | %s

2025年11月27日