flang icon indicating copy to clipboard operation
flang copied to clipboard

[LLVM 15][runtime] Add C prototypes for external Fortran matmul functions

Open bryanpkc opened this issue 3 years ago • 1 comments

This fixes errors such as:

.../flang/runtime/flang/mmreal8.c:99:21: error: passing arguments to 'ftn_mvmul_real8_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
    ftn_mvmul_real8_(&ta, &mra, &kab, alpha, a, &lda, b, beta, c);
                    ^

bryanpkc avatar Sep 18 '22 21:09 bryanpkc

@pawosm-arm Thanks for the comment. I have deleted extern from the declarations.

bryanpkc avatar Sep 21 '22 12:09 bryanpkc

@shivaramaarao gentle ping

bryanpkc avatar Sep 29 '22 21:09 bryanpkc