How to find out which ANSI C standard my gcc works with by default?

后端 未结 4 730
無奈伤痛
無奈伤痛 2020-12-19 06:49

I read here it is C90 with extensions. How can I know for sure?

4条回答
  •  误落风尘
    2020-12-19 07:32

    Try below command and search for std

    gcc -v --help | less
    

    It will show you all the available options for your gcc.

提交回复
热议问题