[flang-commits] [clang] [flang] Revert "[flang][Driver] Let the linker fail on multiple definitions of main()" (PR #74120)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Fri Dec 1 10:16:52 PST 2023


mjklemm wrote:

BTW, flang legacy has this: `  -fno-fortran-main       Don't link in Fortran main` 

Adding that command line option might be the right choice.  If everyone agrees, I can see if I can get this added.

https://github.com/llvm/llvm-project/pull/74120


More information about the flang-commits mailing list