tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC g++ 4.4.7 does not accept -std=c++03



Ryo ONODERA <ryo%tetera.org@localhost> writes:

> Hi,
>
> g++ from GCC 4.4.7 does not accept -std=c++03 option.
> It accepts only -std=c++0x and -std=gnu++0x.
>
> CentOS 6.10 has GCC 4.4.7 and packages with -std=c++03 fail
> with 'cc1plus: error: unrecognized command line option "-std=c++03"'
> error.
>
> What is the best way to handle this problem?

Guessing, it's to somehow special case the adding of the --std flags for
that version of gcc, either in wrappers or where they are added.


Home | Main Index | Thread Index | Old Index