[35]>> D:/CCS/CCS_20.1/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/math.h, line 261: [36] INTERNAL ERROR: no match for SQRT [37]This may be a serious problem. Please contact customer support with a [38]description of this problem and a sample of the source files that caused this [39]INTERNAL ERROR message to appear. [40]Cannot continue compilation - ABORTING! [41]gmake: *** [LoopCtrl.obj] Error 1
以上为编译时的log,其中math库是编译器的库函数,为什么会上报错误,如何解决
对于发出此诊断时正在编译的源文件,请按照文章中的说明进行操作
software-dl.ti.com/.../sdto_cgt_How-to-Submit-a-Compiler-Test-Case.html
不幸的是,没有源代码,就无法推进这个问题。这篇文章讨论了一种直接将代码发送给我的方法。
编译器在发布之前必须通过许多测试。这包括测试math.h。因此,任何错误都涉及到math.h之外的内容。这就是为什么我需要一个测试用例,如文章“如何提交编译器测试用例”中所述。如果没有这个测试用例,包括源代码,就无法重现问题。再现问题是推进问题的唯一途径。