提升日志错误

时间:2013-08-16 12:19:56

标签: boost-log gcc4.5

大家好!

我尝试用gcc 4.5应用程序构建,使用boost log(boost 1.53)。我收到以下错误:

在Modules / 3rdParty / Boost / Include / boost / log / common.hpp:27:0中包含的文件中,

from Modules / Core / Common / Include / Common / Logger.h:5

Modules / 3rdParty / Boost / Include / boost / log / sources / basic_logger.hpp:在成员函数'void boost :: log :: v2s_mt_posix :: sources :: basic_logger :: push_record_unlocked(boost :: log :: v2s_mt_posix) ::记录&安培;&安培;)':

Modules / 3rdParty / Boost / Include / boost / log / sources / basic_logger.hpp:268:46:错误:没有匹配函数来调用'boost :: log :: v2s_mt_posix :: core :: push_record(boost: :remove_reference ::类型&安培)'

Modules / 3rdParty / Boost / Include / boost / log / core / core.hpp:306:49:注意:候选者是:void boost :: log :: v2s_mt_posix :: core :: push_record(boost :: log: :v2s_mt_posix :: record&&)

当我使用gcc 4.7时,一切都运行良好,但我需要gcc 4.5。我该如何解决? 谢谢!

0 个答案:

没有答案