[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: Warning in master in C++11 mode
From: Scott Kostyshak <scott.kostyshak () gmail ! com>
Date: 2022-11-26 19:33:03
Message-ID: 20221126193303.mg3zyrltsfzwt3tl () gary
[Download RAW message or body]
On Wed, Nov 09, 2022 at 10:41:17AM +0100, Jean-Marc Lasgouttes wrote:
> Hi,
>
> I get this warning when compiling in C++11 mode :
>
> ../../master/src/insets/InsetIndex.cpp: In member function ‘virtual void
> lyx::InsetIndex::docbook(lyx::XMLStream&, const lyx::OutputParams&) const':
> ../../master/src/insets/InsetIndex.cpp:376:6: warning: init-statement in
> selection statements only available with ‘-std=c++17' or ‘-std=gnu++17'
> 376 | if (const vector<docstring> potential_terms =
> getSubentriesAsText(runparams); !potential_terms.empty()) {
> | ^~~~~
>
>
> Thibaut, can I leave that to you ?
Ping to Thibaut.
Scott
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic