[flang-commits] [flang] [flang] Fix const cast issue in FreeMemory function call in execute_command_line (PR #77906)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Fri Jan 12 03:10:50 PST 2024


yi-wu-arm wrote:

@klausler point it out in the flang slack channel:
flang/runtime/execute.cpp:202:24: error: cast from type 'const char*' to type 'void*' casts away qualifiers [-Werror=cast-qual]
  202 |     FreeMemory((void *)newCmd);                                 
      |                        ^~~~~~

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


More information about the flang-commits mailing list