Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5970

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

$
0
0

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

$ cc --versioncc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2Copyright (C) 2012 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.$ 

What I would like to know is which of c89, c90, c99 or c11 is being used.


Viewing all articles
Browse latest Browse all 5970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>