[LyX/master] remove most traces of boost::regex
Kornel Benko
kornel at lyx.org
Sun Nov 29 09:03:10 UTC 2020
Am Sun, 29 Nov 2020 10:44:42 +0200
schrieb Yuriy Skalko <yuriy.skalko at gmail.com>:
> > In process of removing boost-traces from cmake-build, I got this error
> > ...
> > /usr2/src/lyx/lyx-git/src/support/checksum.cpp: In function ‘long unsigned int
> > lyx::support::checksum(std::ifstream&)’:
> > /usr2/src/lyx/lyx-git/src/support/checksum.cpp:33:8:
> > error: ‘for_each’ was not declared in this scope crc = for_each(beg, end, crc);
> > ^~~~~~~~
> > /usr2/src/lyx/lyx-git/src/support/checksum.cpp:33:8: note: suggested
> > alternative: ‘fread’
> > crc = for_each(beg, end, crc);
> > ^~~~~~~~
> > ...
> >
> > Kornel
>
> Replacing "#include <iterator>" to "#include <algorithm>" should help.
>
> Yuriy
>
Yes, compiles now.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201129/a654e634/attachment.asc>
More information about the lyx-devel
mailing list