C and C++ standards using in GCC

keshav yadav keshav.yadav2005@gmail.com
Tue Jun 15 08:34:00 GMT 2010


Thanks Ian,

I check this file, it takes options to set GCC standard. But in source
code i could not able to find the exact location, where GCC set a
particular standard, that can be changed.

thanks
keshav

On Tue, Jun 8, 2010 at 11:37 PM, Ian Lance Taylor <iant@google.com> wrote:
> keshav yadav <keshav.yadav2005@gmail.com> writes:
>
>> I want to know where in source code of gcc,i can chage the deafult
>> c/c++  standards?
>
> There are a few different flags which affect this.  See set_std_c89
> and friends in the file gcc/c-opts.c.
>
> Ian
>



More information about the Gcc-help mailing list