Uwe StĂśhr wrote:
> commit 9e29dc2338842568de166cef8cee88de9210a84b
> Author: Uwe StĂśhr <uwesto...@lyx.org>
> Date:   Fri Jan 25 23:24:26 2013 +0100
> 
>     Encoding.cpp: make it compilable again after [2eea1590/lyxgit]
> 
> diff --git a/src/Encoding.cpp b/src/Encoding.cpp
> index 3a27a7b..1c5e93c 100644
> --- a/src/Encoding.cpp
> +++ b/src/Encoding.cpp
> @@ -37,8 +37,6 @@ using namespace lyx::support;
>  
>  namespace lyx {
>  
> -int const Encoding::any;
> -
>  Encodings encodings;


Kaboom. Now we don't compile on Linux.

  CXXLD  lyx
  liblyxcore.a(BufferParams.o): In function `lyx::BufferParams::encoding() 
const':
  BufferParams.cpp:(.text+0x42ed): undefined reference to `lyx::Encoding::any'
  BufferParams.cpp:(.text+0x4415): undefined reference to `lyx::Encoding::any'
  collect2: ld returned 1 exit status
  make[4]: *** [lyx] Error 1

Pavel

Reply via email to