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. Advertising

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. Jeffrey Walton
    Replies:
    10
    Views:
    927
    Mathias Gaunard
    Nov 26, 2006
  2. Anonymous
    Replies:
    4
    Views:
    376
    Klaas Vantournhout
    Oct 17, 2007
  3. petry

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

    petry, Jul 5, 2009, in forum: C Programming
    Replies:
    1
    Views:
    338
    petry
    Jul 5, 2009
  4. , India
    Replies:
    3
    Views:
    2,823
    James Kanze
    Nov 13, 2010
  5. Jeremy Murphy
    Replies:
    5
    Views:
    462
    Jeremy Murphy
    Dec 13, 2012
Loading...

Share This Page