Le 02/05/2024 à 22:47, Richard Kimberly Heck a écrit :
Here:
http://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
Please check that they build and run properly, especially export to and from
2.4.x.
When we've verified all is well, I'll give the signal to build binaries for
real.
On Debian stable:
Configuration
Host type: x86_64-pc-linux-gnu
Special build flags: build=release std-regex use-hunspell use-enchant
Bundled libraries: boost hunspell
C++ Compiler: g++ (12.2.0)
C++ Compiler flags: -fPIC -O2 -std=c++14
C++ Compiler user flags:
Linker flags:
Linker user flags:
Qt Frontend:
Qt version: 5.15.8
Packaging: posix
LyX binary dir: /usr/local/bin
LyX files dir: /usr/local/share/lyx-2.3.8
I still get warnings about unary_function:
BranchList.cpp:30:38: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
30 | class BranchNamesEqual : public std::unary_function<Branch, bool>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from ./support/strfwd.h:42,
from support/docstring.h:16,
from BranchList.h:17,
from BranchList.cpp:14:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
Format.cpp:62:33: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
62 | class FormatNamesEqual : public unary_function<Format, bool> {
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/functional:49,
from Format.cpp:12:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
Format.cpp:76:38: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
76 | class FormatExtensionsEqual : public unary_function<Format, bool> {
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
Format.cpp:90:32: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
90 | class FormatMimeEqual : public unary_function<Format, bool> {
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
IndicesList.cpp:30:37: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
30 | class IndexNamesEqual : public std::unary_function<Index, bool>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from ./support/strfwd.h:42,
from support/docstring.h:16,
from IndicesList.h:17,
from IndicesList.cpp:13:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
IndicesList.cpp:46:38: warning: ‘template<class _Arg, class _Result> struct
std::unary_function’ is deprecated [-Wdeprecated-declarations]
46 | class IndexHasShortcut : public std::unary_function<Index, bool>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
But compilation succeeds.
Next step, open the 2.4.x French UserGuide with 2.3.8. There compilation fails
on missing Unicode characters :
! LaTeX Error: Unicode character 「 (U+300C)
not set up for use with LaTeX.
and the following characters 「 」 『 』 《 》in section 3.9.4.2.
Finally compilation stops with this :
Runaway argument?
{\printnomenclature {}\printindex \end {document}
! File ended while scanning use of \@settodim.
<inserted text>
\par
<*> UserGuide.tex
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
! Emergency stop.
Same with English UserGuide. This seems local to the file, right?
lyx-2.4.0~devel opens and compiles the 2.3.8 French UserGuide flawlessly.
--
Jean-Pierre
--
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel