[LyX/master] remove most traces of boost::regex
Kornel Benko
kornel at lyx.org
Sun Nov 29 10:16:44 UTC 2020
Am Sun, 29 Nov 2020 10:03:10 +0100
schrieb Kornel Benko <kornel at lyx.org>:
> 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
Still traces of boost in configure.ac
$ egrep -in boost configure.ac
97:LYX_USE_INCLUDED_BOOST
279:#define BOOST_USER_CONFIG <config.h>
282:# define BOOST_DISABLE_ASSERTS 1
284:#define BOOST_ENABLE_ASSERT_HANDLER 1
286:#define BOOST_DISABLE_THREADS 1
287:#define BOOST_NO_WREGEX 1
288:#define BOOST_NO_WSTRING 1
293:# define BOOST_POSIX 1
294:# define BOOST_POSIX_API 1
295:# define BOOST_POSIX_PATH 1
336: 3rdparty/boost/Makefile \
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/c69db6fa/attachment.asc>
More information about the lyx-devel
mailing list