在gcc7.3环境下,运行spec2017时,遇到510测试项报错:
在log中看到如下信息:
In file included from include/base/parameter_handler.h:18:0,
from source/base/parameter_handler.cc:14:
source/base/parameter_handler.cc: In member function ‘double dealii::ParameterHandler::get_double(const string&) const’:
source/base/parameter_handler.cc:752:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
AssertThrow ((s.c_str()!=’\0’) || (*endptr == ‘\0’),
编译时,增加参数:
-fpermissive
-std=c++03