[clang] [Sema] Allow -Wno-main to suppress the arg wrong error (PR #85494)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 18 05:55:57 PDT 2024
================
@@ -250,6 +250,9 @@ Improvements to Clang's diagnostics
such as attempting to call ``free`` on an unallocated object. Fixes
`#79443 <https://github.com/llvm/llvm-project/issues/79443>`_.
+- The ``XXX parameter of 'main' must be of type`` error can now be disabled via ``-Wno-main``.
+ `#85494 <https://github.com/llvm/llvm-project/pull/85494>`_.
----------------
AaronBallman wrote:
```suggestion
- The ``XXX parameter of 'main' must be of type`` error can now be disabled via
``-Wno-main``, fixes #GH85491.
```
You accidentally linked to the PR rather than the issue, so this switches to the new-style of specifying links to issues while correcting that.
https://github.com/llvm/llvm-project/pull/85494
More information about the cfe-commits
mailing list