Re: [PATCH 1/1] On Linux show in crash message box the backtrace

2014-06-07 Thread Richard Heck
On 06/07/2014 05:56 AM, Peter Kümmel wrote: This patch is for 2.1.x, but could I commit to master? I'd think it would be fine for master. Richard > --- src/LyX.cpp |2 +- src/frontends/alert.h |3 ++- src/frontends/qt4/GuiAlert.cpp| 15 ++

Re: [PATCH 1/1] On Linux show in crash message box the backtrace

2014-06-07 Thread Peter Kümmel
This patch is for 2.1.x, but could I commit to master? > --- src/LyX.cpp |2 +- src/frontends/alert.h |3 ++- src/frontends/qt4/GuiAlert.cpp| 15 +++ src/frontends/qt4/GuiProgress.cpp | 12 src/frontends/qt4/GuiProg

Re: [PATCH 1/1] On Linux show in crash message box the backtrace

2014-06-07 Thread Peter Kümmel
--- a/src/support/CMakeLists.txt +++ b/src/support/CMakeLists.txt @@ -36,6 +36,10 @@ else() set(support_linkback_headers "") endif() +if(UNIX AND CMAKE_COMPILER_IS_GNUCC AND NOT APPLE) + add_definitions(-DLYX_CALLSTACK_PRINTING) +endif() + Automake build needs to be patched. P

[PATCH 1/1] On Linux show in crash message box the backtrace

2014-06-07 Thread syntheticpp
From: Peter Kümmel Signed-off-by: Peter Kümmel --- src/LyX.cpp |2 +- src/frontends/alert.h |3 ++- src/frontends/qt4/GuiAlert.cpp| 15 +++ src/frontends/qt4/GuiProgress.cpp | 12 src/frontends/qt4/GuiProgress.h |