On Tue, Sep 27, 2016 at 01:02:04PM +0200, Guillaume Munch wrote:
> Le 24/09/2016 à 03:25, Enrico Forestieri a écrit :
> >commit 3bc08a76c42cd350a3141f00f37082bc9fab8967
> >Author: Enrico Forestieri <for...@lyx.org>
> >Date:   Sat Sep 24 03:15:02 2016 +0200
> >
> >    Sort the language nesting mess with polyglossia
> >
> >    When using polyglossia, lyx was making a real mess when changing
> >    language inside nested insets. The \begin{language} and
> >    \end{language} commands were not well paired such that they could
> >    easily occur just before and after the start or end of an
> >    environment. Of course this was causing latex errors such that
> >    "\begin{otherlanguage} ended by \end{environment}".
> >    There may still be some cases I did not take into account.
> 
> Hi, this commit introduced the following new warning in master with the
> default gcc configuration:
> 
> ../../src/output_latex.cpp: In function ‘void lyx::TeXOnePar(const
> lyx::Buffer&, const lyx::Text&, lyx::pit_type, lyx::otexstream&, const
> lyx::OutputParams&, const string&, int, int)’:
> ../../src/output_latex.cpp:986:7: warning: suggest parentheses around ‘&&’
> within ‘||’ [-Wparentheses]
>        && nextpar->getDepth() == par.getDepth()
>        ^

Thanks. Fixed at f476d9c8.

-- 
Enrico

Reply via email to