Do I need -pedantic flag from GCC with C11?

后端 未结 6 2114
长情又很酷
长情又很酷 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:06

    That [-Wpedantic] at the end of the error message means that the warning is generated by -pedantic compiler option. In other words -pedantic is already enabled.

提交回复
热议问题