Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 ディスカッション

Tripped up by EXTERNAL in IVF 11.0

DavidWhite
高評価コントリビューター II
515件の閲覧回数

After installeing IVF 11.0 (IA32), my main project failed to compile. Finally diagnosed to a missing type declaration for an external function.

The function involved was of type LOGICAL. In v10, several routines passed the function name as an argumenthaving only declared it as EXTERNAL. In v11, I had to also declare the functioin name as LOGICAL.

Is this a change in behaviour from v10 to v11? Or is there a default compiler switch that caught this, which was not previously being caught?

Thanks,

David

0 件の賞賛
1 返信
Steven_L_Intel1
従業員
515件の閲覧回数

I think I'd need to see an example in order to be confident in an answer, but it sounds as if generated interface checking picked up on something it didn't before. That option is on by default in Debug configurations as of V10. We may have made an improvement, or a rebuild may have changed the order of things so that the previous error was now caught.

返信