On 09/01/2010 01:38 AM, Uwe Stöhr wrote:
Am 31.08.2010 08:02, schrieb Stephan Witt:
I guess it's my change r35193.
Please try attached patch.
This fixes the setenv compilation errors -> I committed it.
However, this compilation error remains:
10>..\..\src\LyX.cpp(288) : error C4101: 'message' : unreferenced
local variable
The attached patch fixes also this error for me (debug and release mode).
I am not sure about lyx_exit() at this stage of the boot process maybe
just exist() will do. Also AFAIR Alert:: in LyX requires GUI mode so
make sure your patch works with command-line mode (lyx -e).
It seems that MSVC doesn't allow to use empty catched exceptions.
No, this is a warning about unused variabled but CMake treats these as
error (on purpose). This is to avoid to let unused variables everywhere
like it used to be.
OK to put it in?
No, for now just comment out message:
- } catch (ExceptionMessage const& message) {}
+ } catch (ExceptionMessage const& /*message*/) {
Abdel.