MegCC icon indicating copy to clipboard operation
MegCC copied to clipboard

../dnn/test/fallback/gi.cpp:38:33: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

Open yhl41001 opened this issue 3 years ago • 2 comments

./third_party/prepare.sh 编译的时候遇到错误:../dnn/test/fallback/gi.cpp:38:33: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

yhl41001 avatar Nov 09 '22 02:11 yhl41001

麻烦问一下,你的编译环境,以及编译器gcc的版本?

chenqy4933 avatar Nov 09 '22 12:11 chenqy4933

我这边没有复现,你可以试试使用这个发版的docker环境build:https://github.com/MegEngine/MegCC/blob/main/script/docker/Dockerfile

chenqy4933 avatar Nov 10 '22 03:11 chenqy4933