pkgsrc-Users archive

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

Re: Build failue for converters/libetonyek



Hi,

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

> With a amd64 host running NetBSD 9.99.59, and with all dependencies 
> having already been built clean into an initially empty sandbox, and 
> with an up-to-date version of pkgsrc, I'm seeing the following error:
>
> ...
> NUM3Parser.cpp: In member function 'virtual bool libetonyek::NUM3Parser::parseDocument()':
> NUM3Parser.cpp:46:8: error: 'for_each' is not a member of 'std'
>     std::for_each(sheetListRefs.begin(), sheetListRefs.end(), std::bind(&NUM3Parser::parseSheet, this, std::placeholders::_1));
>          ^~~~~~~~
> NUM3Parser.cpp:46:8: note: suggested alternative: 'forward'
>     std::for_each(sheetListRefs.begin(), sheetListRefs.end(), std::bind(&NUM3Parser::parseSheet, this, std::placeholders::_1));
>          ^~~~~~~~
>          forward
> ...
>
> This error is repeatable...

I have same problem.

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.

Thank you.

> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
> +--------------------+--------------------------+-----------------------+

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