[flang-commits] [flang] [flang] Support for warning and error compiler directives. (PR #151510)
via flang-commits
flang-commits at lists.llvm.org
Fri Aug 8 22:01:33 PDT 2025
shivaramaarao wrote:
> The compiler already has `#error`, `#warning`, and other preprocessor directives. What purpose are these new ones for?
#error and #warning requires preprocessor support. Since these directives are handled at semantic level, the usability is more. Also, looks like some customers are using this features to warn/error unsupported features through these directives.
https://github.com/llvm/llvm-project/pull/151510
More information about the flang-commits
mailing list