Compilation failure with c++11 (string_view)

Scott Kostyshak skostysh at lyx.org
Thu Jan 5 02:39:40 UTC 2023


On Tue, Jan 03, 2023 at 10:30:27AM +0100, Jean-Marc Lasgouttes wrote:
> With master, I cannot compile in c++11 mode:
> 
> ../../master/src/mathed/InsetMathDecoration.cpp:191:22: error: ‘string_view’
> has not been declared
>   191 |   Attributes(bool o, string_view entity)
>       |                      ^~~~~~~~~~~
> 
> Indeed, std::string_view is a c++17 thing.

CC'ing Thibaut (I think this was introduced at bc73a857).

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230104/fa29579f/attachment-0001.asc>


More information about the lyx-devel mailing list