[LyX/master] Add move constructor and move assignment operator for FileName class

Scott Kostyshak skostysh at lyx.org
Thu Jan 14 15:53:47 UTC 2021


On Thu, Jan 14, 2021 at 09:34:37AM +0100, Jean-Marc Lasgouttes wrote:
> Le 13/01/2021 à 17:59, Scott Kostyshak a écrit :
> > I just tested with Clang and cannot reproduce. Stephan, does the list need to have more than one "recent file"? Note that the recent files are stored in the "session" file. You could experiment by seeing if it depends on which file you choose or how many entries are in the menu.
> 
> Did you force to use libc++ instead of libstdc++? Or is it the default these
> days?

Sorry, I should not have responded to your comment about the library. I meant that I cannot reproduce with Clang, but I did not check anything about the library. I do not knowingly force anything. I don't think I have libc++ installed:

$ ldconfig -p | grep c++
	libstdc++.so.6 (libc6,x86-64) => /lib/x86_64-linux-gnu/libstdc++.so.6
	libstdc++.so.6 (libc6) => /lib/i386-linux-gnu/libstdc++.so.6
	libstdc++.so.6 (libc6) => /lib32/libstdc++.so.6
	liblua5.3-c++.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.3-c++.so.0
	liblua5.3-c++.so (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.3-c++.so
	liblua5.2-c++.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.2-c++.so.0
	liblua5.2-c++.so (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.2-c++.so
	liblua5.1-c++.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.1-c++.so.0
	liblua5.1-c++.so (libc6,x86-64) => /lib/x86_64-linux-gnu/liblua5.1-c++.so

I could also install libc++ and try to use that and reproduce the crash. Would that be helpful?

For building with clang, all I currently do is:

  export CC=/usr/bin/clang
  export CXX=/usr/bin/clang++

This is for:

$ clang++ --version
clang version 9.0.0-2 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
$ 

I have not tested yet on Ubuntu 20.10. I could test that in a Vbox if we think newer versions behave differently.

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/20210114/d7a71bde/attachment.asc>


More information about the lyx-devel mailing list