speccpu2006编译时 447报错

speccpu2006 在linux下,编译447时报错。

parameter_handler.cc: In member function ‘long int ParameterHandler::get_integer(const string&) const’:
parameter_handler.cc:763:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
AssertThrow ((s.c_str()!=’\0’) || (*endptr == ‘\0’),
^
include/base/exceptions.h:596:15: note: in definition of macro ‘AssertThrow’
if (!(cond))
^~~~
parameter_handler.cc: In member function ‘double ParameterHandler::get_double(const string&) const’:
parameter_handler.cc:777:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
AssertThrow ((s.c_str()!=’\0’) || (*endptr == ‘\0’),
^
include/base/exceptions.h:596:15: note: in definition of macro ‘AssertThrow’
if (!(cond))
^~~~
specmake: *** [parameter_handler.o] Error 1
Stop make command: Fri Aug 14 15:13:14 2020 (1597389194)
Elapsed time for make command: 00:01:08 (68)
Error with make ‘s

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值