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,

Thanks for your response and
I have found that I had sent income message.

textproc/hunspell has USE_LANGUAGES=c++03 line and fails with the error on CentOS 6.10.



On June 26, 2019 1:23:35 AM GMT+09:00, Greg Troxel <gdt%lexort.com@localhost> wrote:
>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.

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