Do I need -pedantic flag from GCC with C11?

后端 未结 6 2124
长情又很酷
长情又很酷 2021-02-09 05:42

I\'m currently running Linux Mint on my Machine with GCC-5.3 because C11 is included default.

I started learning C fo

6条回答
  •  深忆病人
    2021-02-09 06:07

    You do not need the -pedantic flag. Almost nobody needs the -pedantic flag.

    Pedantry - Excessive concern with minor details and rules.

    -pedantic warnings can be ignored, practically by definition. The flag may be useful when writing cross-platform code but that's it.

提交回复
热议问题