I noticed a peculiar problem with ifx: any unknown option specifed after "-warn:all" (or "-warn all" on LInux) gets ignored. Here is a transcript of the phenomenon:
c:>ifx hello.f90 -warn:all -abcxyz
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2025.0.0 Build 20241008
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
Microsoft (R) Incremental Linker Version 14.44.35217.0
Copyright (C) Microsoft Corporation. All rights reserved.
-out:hello.exe
-subsystem:console
hello.obj
c:>ifx hello.f90 -check:all -abcxyz
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2025.0.0 Build 20241008
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
ifx: command line warning #10006: ignoring unknown option '/abcxyz'
Microsoft (R) Incremental Linker Version 14.44.35217.0
Copyright (C) Microsoft Corporation. All rights reserved.
-out:hello.exe
-subsystem:console
hello.objNo warning or error about the strange option "/abcxyz" after
"-warn:all", but there is one after "-check:all". I noticed this on both Windows and Linux.
I don't see this problem on Linux:
$ ifx main.f90 -warn all -aasfdasdf
ifx: command line warning #10006: ignoring unknown option '-aasfdasdf'
$ ifx --version
ifx (IFX) 2025.3.2 20260112
But I can see it with older versions, e.g. 2025.2 or the one you are using (2025.0):
$ ifx main.f90 -warn all -aasfdasdf
$ ifx --version
ifx (IFX) 2025.2.1 20250806
The bug is fixed, please use the latest version.
链接已复制
I don't see this problem on Linux:
$ ifx main.f90 -warn all -aasfdasdf
ifx: command line warning #10006: ignoring unknown option '-aasfdasdf'
$ ifx --version
ifx (IFX) 2025.3.2 20260112
But I can see it with older versions, e.g. 2025.2 or the one you are using (2025.0):
$ ifx main.f90 -warn all -aasfdasdf
$ ifx --version
ifx (IFX) 2025.2.1 20250806
The bug is fixed, please use the latest version.
Ah, good to know it has been solved. I will have to see that we can move to the latest version.