On Sat, May 18, 2024 at 10:33:09AM GMT, Kornel Benko wrote: > Am Fri, 17 May 2024 13:18:44 -0400 > schrieb Scott Kostyshak <skost...@lyx.org>: > > > On Fri, May 17, 2024 at 11:34:51AM GMT, Scott Kostyshak wrote: > > > On Fri, May 17, 2024 at 03:20:11PM GMT, Kornel Benko wrote: > > > > Am Fri, 17 May 2024 08:46:53 -0400 > > > > schrieb Scott Kostyshak <skost...@lyx.org>: > > > > > > > > > On Fri, May 17, 2024 at 12:04:49PM GMT, Kornel Benko wrote: > > > > > > > > > I get this warning only if lyx is compiled with debugging enabled. > > > > > > > > > > g++ or clang? Which version? > > > > > > > > g++-12 > > > > > > > > > > I have g++-12. How do I tell CMake to compile with debugging enabled? > > > > It seems I already have -g3, which I think eanbles debugging? > > > > $ lyx --version > > LyX 2.5.0~devel (2024-05-16) > > Git commit hash b469c142 > > CMake Build > > Host name: Linux > > Host processor: x86_64 > > Build flags: LYX_ENABLE_BUILD_TYPE(AUTO) LYX_CPACK(ON) > > LYX_LOCALVERSIONING(ON) LYX_INSTALL(ON) LYX_NLS(ON) > > LYX_REQUIRE_SPELLCHECK(OFF) > > LYX_ASPELL(OFF) LYX_ENCHANT(ON) LYX_HUNSPELL(ON) LYX_RELEASE(OFF) > > LYX_DEBUG(ON) > > LYX_NO_OPTIMIZE(OFF) LYX_ENABLE_ASSERTIONS(ON) LYX_PACKAGE_SUFFIX(ON) > > LYX_SUFFIX_VALUE() LYX_PCH(OFF) LYX_MERGE_FILES(OFF) LYX_MERGE_REBUILD(OFF) > > LYX_QUIET(OFF) LYX_INSTALL_PREFIX(OFF) LYX_BUNDLE(OFF) > > LYX_ENABLE_URLTESTS(OFF) > > LYX_ENABLE_EXPORT_TESTS(ON) LYX_ENABLE_KEYTESTS(OFF) > > LYX_ENABLE_VALGRIND_TESTS(OFF) > > LYX_DEBUG_SANITIZE(NONE) LYX_USE_QT(QT6) LYX_USE_IPO(OFF) > > LYX_DISABLE_CALLSTACK_PRINTING(OFF) LYX_EXTERNAL_Z(ON) LYX_EXTERNAL_DTL(ON) > > LYX_EXTERNAL_ICONV(ON) LYX_EXTERNAL_HUNSPELL(ON) LYX_EXTERNAL_MYTHES(ON) > > LYX_PROFILE(OFF) LYX_EXTERNAL_BOOST(OFF) LYX_PROGRAM_SUFFIX(OFF) > > LYX_DEBUG_GLIBC(OFF) > > LYX_DEBUG_GLIBC_PEDANTIC(OFF) LYX_DEBUG_GLIBC_ASSERTIONS(OFF) > > LYX_STDLIB_DEBUG(OFF) C++ > > Compiler: GNU (12.3.0) C++ Compiler flags: -Wall -Wextra > > -Wno-deprecated-copy --std=c++20 -DENABLE_ASSERTIONS=1 -fno-strict-aliasing > > C++ > > Compiler user flags: -O0 -g3 -D_DEBUG Qt version: 6.4.2 LyX > > binary dir: > > /usr/local/bin LyX files dir: /usr/local/share/lyx/ $ > > > > What does your --version output look like? > > > > Scott > > There are in fact differences. > in Build flags: > Yours: Mine: > LYX_ENABLE_BUILD_TYPE(AUTO) LYX_ENABLE_BUILD_TYPE(development) > LYX_REQUIRE_SPELLCHECK(OFF) LYX_REQUIRE_SPELLCHECK(ON) > LYX_ENABLE_URLTESTS(OFF) LYX_ENABLE_URLTESTS(ON) > LYX_ENABLE_KEYTESTS(OFF) LYX_ENABLE_KEYTESTS(ON) > LYX_DEBUG_SANITIZE(NONE) LYX_DEBUG_SANITIZE(UNSPECIFIED) > LYX_EXTERNAL_Z(ON) LYX_EXTERNAL_Z(OFF) > LYX_EXTERNAL_DTL(ON) LYX_EXTERNAL_DTL(OFF) > LYX_EXTERNAL_HUNSPELL(ON) LYX_EXTERNAL_HUNSPELL(OFF) > LYX_EXTERNAL_MYTHES(ON) LYX_EXTERNAL_MYTHES(OFF) > LYX_PROGRAM_SUFFIX(OFF) LYX_PROGRAM_SUFFIX(ON) > LYX_STDLIB_DEBUG(OFF) LYX_STDLIB_DEBUG(ON) > > > Compiler flags added to mine: -fsanitize=undefined -fno-omit-frame-pointer > -D_GLIBCXX_ASSERTIONS -fno-strict-aliasing
Thanks, I changed some of my settings and now I get a different error. I'll start a different thread. > > QT version > 6.4.2 6.2.4 > > LyX files dir: > /usr/local/share/lyx/ /usr/local/share/lyx2.4/ Ah probably because I turn program suffix off. > The last one is wrong output on my side. Should be '/usr/local/share/lyx2.5/' > as lyx is > clearly using this path. > ... > Was a remnant of used CMakeCache.txt. After removing and recreating the value > is as it > should be. > Corrected at 6670870a. Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel