What is the default C -std standard version for the current GCC (especially on Ubuntu)?

后端 未结 6 1189
鱼传尺愫
鱼传尺愫 2020-11-27 13:23

When I ask to see the current version of cc I get this.

$ cc --version
cc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, I         


        
6条回答
  •  一整个雨季
    2020-11-27 13:56

    Default gcc command is the GNU dialect of ISO C90 (including some C99 features). This is the default for C code.

提交回复
热议问题