[Mpi-forum] Giving up on C11 _Generic

Gropp, William D wgropp at illinois.edu
Thu Aug 8 07:35:56 CDT 2019


That -Wall is a lie is also true for gcc. Yes, this is a extremely poor design. If you want to provide -Wmostcommon then do that (and maybe abbreviate to -Wmost).

Bill

William Gropp
Director and Chief Scientist, NCSA
Thomas M. Siebel Chair in Computer Science
University of Illinois Urbana-Champaign






On Aug 8, 2019, at 6:42 AM, HOLMES Daniel via mpi-forum <mpi-forum at lists.mpi-forum.org<mailto:mpi-forum at lists.mpi-forum.org>> wrote:

After a brief search that I never knew was necessary, I find that “all” is smaller than “everything” in clang world.
http://clang.llvm.org/docs/UsersManual.html#enabling-all-diagnostics<https://urldefense.proofpoint.com/v2/url?u=http-3A__clang.llvm.org_docs_UsersManual.html-23enabling-2Dall-2Ddiagnostics&d=DwMGaQ&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=GKyGyH5daFucNDrdW1aAn-zGjTU3Nf3jN2EVJvjE5Ww&m=aurtcEAiLMm6LXLUESv2DwhmzR2sP8AOEoA3q-QNe28&s=pGm8Z3NdWVmhXQSfbTUCSWUpcOvKuSZ4lP2CqlgLWRw&e=>

So, my question “why isn’t -Wconversion implied by -Wall?” might have an astonishing answer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpi-forum/attachments/20190808/b4a27547/attachment.html>


More information about the mpi-forum mailing list