C99 not default C- version for GCC?

后端 未结 4 1835
别那么骄傲
别那么骄傲 2020-12-06 17:28

Why does not GCC compile the C99 by default? I mean why is it necessary to add --std=c99 flag everytime a code in C99 is written?

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-06 17:56

    Perhaps because it still isn't fully implemented - see C99 status.

    It also could be argued C99 features haven't been widely adopted, although that's something of a circular argument.

提交回复
热议问题