How can I find out which -std option is gcc using?

Discussion in 'C Programming' started by learnerlone@gmail.com, Aug 12, 2012.

  1. Guest

    I know gcc uses -std=gnu89 by default. But I want to know if it is possible to make gcc display this information by itself.

    You may ask what's the purpose of such a feature. I can't think of any but I am curious to know if gcc would still display the language standard it is using to compile my program.
     
    , Aug 12, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmVyZW15?=

    How can I find out which .net version I'm running?

    =?Utf-8?B?SmVyZW15?=, Apr 9, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,172
    Teemu Keiski
    Apr 10, 2004
  2. Andreas Klemt
    Replies:
    1
    Views:
    570
    John Saunders
    Jul 9, 2004
  3. Jeffrey Walton
    Replies:
    10
    Views:
    1,252
    Mathias Gaunard
    Nov 26, 2006
  4. Anonymous
    Replies:
    4
    Views:
    470
    Klaas Vantournhout
    Oct 17, 2007
  5. daokfella
    Replies:
    4
    Views:
    490
    daokfella
    Jul 24, 2008
  6. petry

    std::string::find vs std::find

    petry, Jul 5, 2009, in forum: C Programming
    Replies:
    1
    Views:
    459
    petry
    Jul 5, 2009
  7. , India
    Replies:
    3
    Views:
    3,499
    James Kanze
    Nov 13, 2010
  8. Jeremy Murphy
    Replies:
    5
    Views:
    980
    Jeremy Murphy
    Dec 13, 2012
Loading...