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

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to