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



Hi,

"Sijmen J. Mulder" <ik%sjmulder.nl@localhost> writes:

> Ryo ONODERA <ryo%tetera.org@localhost> wrote:
>> 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.
>
> This is an ongoing issue, with the most recent thread being:
>
>   https://marc.info/?l=pkgsrc-users&m=156108314821058
>
> There's a wiki page:
>
>   https://wiki.netbsd.org/pkgsrc/gcc/

I have not read this page yet.
I will read it.

Thank you.

> The quick fix, which isn't, is to set GCC_REQD=5 but then if another
> package uses the library it'll fail to link if it's compiled with an
> older compiler. This happened with print/popplar.
>
> There have been patches with structural fixes.
>
> Sijmen

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index