pkgsrc-Users archive

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

Re: Build failue for converters/libetonyek





On 07/05/2020 12:37, Joerg Sonnenberger wrote:
On Thu, May 07, 2020 at 08:35:45AM +0900, Ryo ONODERA wrote:
Hi,

Paul Goyette <paul%whooppee.com@localhost> writes:

std::for_aech is not defined in USE_LANGUAGES=c++0x case.
Please try to replace c++0x with c++17 and build again.
This works for me.
I will commit the change later.

std::for_each is part of C++98 already. It most definitely should not
require C++17 unless there is something else wrong. Does the source even
include <algorithm>?

It may not. I got caught out with this sort of thing on linux. algorithm used to be implicitly included by a lot of C++ lib headers but later GCC versions got rid of the includes breaking my codes compilation.

The code does use std::bind() which means it does need C++11 support.

Mike


Home | Main Index | Thread Index | Old Index