Uwe Stöhr wrote:
>> text.cpp: In function ?void
>> lyx::{anonymous}::parse_environment(lyx::Parser&, std::ostream&, bool,
>> std::string&, lyx::Context&)?:
>> text.cpp:1192:26: error: ?polyglossia_languages? was not declared in this 
>> scope
>
> I cannot reproduce this. polyglossia_languages is defined in Preamble.cpp 
> and correctly recognizes here. I don't get a compiler warning, also not 
> with a fresh compilation. The testcase file is correctly imported.
>
> I don't have any clue why it is not compilable for you. Can anybody else 
> compile?

I don't have clue how this was ever supposed to work.
You declare&define polyglossia_languages in Preamble.cpp and use it in text.cpp.
There is no way how is compiler can find it.

I looked why it does compile in trunk. To my surprise you use identical 
definition
in both Preamble.cpp & text.cpp. This is very bad solution, now I wonder - this
is oversight or you don't recognize that it is bad practice?

Pavel

Reply via email to