Re: 2.3.8dev compilation
Le 05/02/2024 à 16:01, Scott Kostyshak a écrit : I don't think we'll do anything for 2.3.x: https://www.mail-archive.com/search?l=mid&q=20231110111845.GB2857114%40jabberwock.ucw.cz But do you get the warnings on current master? They are solved in master indeed. For 2.3, as long as one compile in release mode, the only visible warnings are for the deprecated stuff. Which is stupid since is seems to be that as long as we compile in C++1 mode, no deprecated thing should disappear, right? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: 2.3.8dev compilation
On Wed, Jan 31, 2024 at 05:38:57PM +0100, Jean-Pierre Chrétien wrote: > Dear developers > > Compiling 2.3.8dev from recent git pull, I get these deprecation warnings : > > > [cut] > Harmless I guess, but should be removed before 2.4.0/2.3.8. Hi Jean-Pierre, Thanks for reporting these warnings. Indeed it's nice to keep the warnings to a minimum. I don't think we'll do anything for 2.3.x: https://www.mail-archive.com/search?l=mid&q=20231110111845.GB2857114%40jabberwock.ucw.cz But do you get the warnings on current master? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
2.3.8dev compilation
Dear developers Compiling 2.3.8dev from recent git pull, I get these deprecation warnings : ../../../../2.3.x/src/frontends/qt4/GuiDocument.cpp:172:18: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 172 | : public binary_function ../../2.3.x/src/BiblioInfo.cpp:1152:29: warning: ‘template_Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 1152 | class compareNoCase: public binary_function ../../2.3.x/src/BranchList.cpp:30:38: warning: ‘template_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 30 | class BranchNamesEqual : public std::unary_function ../../2.3.x/src/Format.cpp:61:33: warning: ‘template struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 61 | class FormatNamesEqual : public unary_function ../../2.3.x/src/Format.cpp:75:38: warning: ‘template struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 75 | class FormatExtensionsEqual : public unary_function ../../2.3.x/src/Format.cpp:89:32: warning: ‘template struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 89 | class FormatMimeEqual : public unary_function ./../2.3.x/src/IndicesList.cpp:30:37: warning: ‘template_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 30 | class IndexNamesEqual : public std::unary_function ../../2.3.x/src/IndicesList.cpp:46:38: warning: ‘template_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 46 | class IndexHasShortcut : public std::unary_function ../../2.3.x/src/Lexer.cpp:139:18: warning: ‘templateclass _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 139 | : public binary_function ../../2.3.x/src/lyxfind.cpp:75:28: warning: ‘templateclass _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 75 | class MatchString : public binary_function ../../2.3.x/src/TextClass.cpp:75:33: warning: ‘template_Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 75 | class LayoutNamesEqual : public unary_function ../../2.3.x/src/insets/InsetCommandParams.cpp:596:41: warning: ‘std::const_mem_fun_ref_t<_Ret, _Tp> std::mem_fun_ref(_Ret (_Tp::*)() const) [with _Ret = bool; _Tp = lyx::ParamInfo::ParamData]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 596 | not1(mem_fun_ref(&ParamInfo::ParamData::isOptional))); Harmless I guess, but should be removed before 2.4.0/2.3.8. Up to date Debian bookworm Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=development std-regex warnings assertions stdlib-debug use-hunspell use-enchant Bundled libraries:boost hunspell C++ Compiler:g++ (12.2.0) C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++14 -Wno-deprecated-copy 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.8dev -- Jean-Pierre -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel