Pavel Sanda wrote:
> commit 718eeba60f5cef7c91508a3472a7b78b73934386
> Author: Pavel Sanda <sa...@lyx.org>
> Date:   Fri Jan 25 21:10:44 2013 -0800
> 
>     Another attempt at Encoding::any (we don't compile at linux now).

Uwe, can you try now? Pavel

> diff --git a/src/Encoding.cpp b/src/Encoding.cpp
> index 1c5e93c..be6f93a 100644
> --- a/src/Encoding.cpp
> +++ b/src/Encoding.cpp
> @@ -37,6 +37,8 @@ using namespace lyx::support;
>  
>  namespace lyx {
>  
> +int const Encoding::any = -1;
> +
>  Encodings encodings;
>  
>  Encodings::MathCommandSet Encodings::mathcmd;
> diff --git a/src/Encoding.h b/src/Encoding.h
> index fb36e72..6a1f89c 100644
> --- a/src/Encoding.h
> +++ b/src/Encoding.h
> @@ -50,7 +50,7 @@ public:
>               japanese = 8
>       };
>       /// Represent any of the above packages
> -     static int const any = -1;
> +     static int const any;
>       ///
>       Encoding() {}
>       ///
> 

Reply via email to