[flang-commits] [PATCH] D110851: [flang] Add a wrapper for Fortran main program

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 1 00:38:12 PDT 2021


jeanPerier added a comment.

Does anyone knows why build bots are not running on this patch (only arc lint + unit seems to be done) ?

I pushed the change by accident (arc patched another approved patch on the wrong branch....) and reverted it, but in the meantime I got some windows failure with this patch:

  0.181 [141/5/1] Building C object tools\flang\runtime\CMakeFiles\obj.Fortran_main.dir\Fortran_main.c.obj
  FAILED: tools/flang/runtime/CMakeFiles/obj.Fortran_main.dir/Fortran_main.c.obj 
  C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe [...] flang\runtime\Fortran_main.c
  C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\include\flang/Runtime/stop.h(30): error C2143: syntax error: missing ')' before '='
  C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\include\flang/Runtime/stop.h(30): warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int
  C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\include\flang/Runtime/stop.h(30): error C2072: '_FortranAExit': initialization of a function
  C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\include\flang/Runtime/stop.h(30): error C2059: syntax error: ')'

So I am wondering how I can make sure I do not break windows here when I find a fix for this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110851/new/

https://reviews.llvm.org/D110851



More information about the flang-commits mailing list