[LyX/master] remove most traces of boost::regex
Kornel Benko
kornel at lyx.org
Sun Nov 29 08:19:45 UTC 2020
Am Sat, 28 Nov 2020 19:29:58 +0100 (CET)
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> commit 3093789e8d285db909a98d733e19a28f48caa7b8
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date: Sat Nov 28 18:26:56 2020 +0100
>
> remove most traces of boost::regex
>
> 1/ remove boost regex code from 3rdparty/boost. Only the cmake stuff remains.
>
> 2/ remove traces of BOOST_LIB since there is no need anymore to
> compile boost stuff.
>
> 3/ remove traces of boost regexp in config/lyxinclude.m4 and INSTALL
>
> 4/ require gcc 4.9 as minimal version in autoconf.
>
> Unfortunately, the net gain is only 10% of included boost size (now 21M).
>
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
-------------- 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/23f42a68/attachment.asc>
More information about the lyx-devel
mailing list