On Wed, 30 Dec 2020 at 20:26, Yu Jin <yu_...@lyx.org> wrote: > Am Mi., 30. Dez. 2020 um 20:02 Uhr schrieb Thibaut Cuvelier < > tcuvel...@lyx.org>: > >> This error is already the topic of another discussion on the list: >> http://lists.lyx.org/pipermail/lyx-devel/2020-December/004984.html. For >> now, you can use the patch at >> http://lists.lyx.org/pipermail/lyx-devel/2020-December/004991.html, but >> it's probably not its final form: a better solution would be to add the >> right flag when calling MSVC. >> > > Aha, I see, that patch resolves only 1 bug though, the other one remain: > > Severity Code Description Project File Line Suppression State > Error C2446 ':': no conversion from 'const _Ty' to > 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' > LyX (applications\LyX\LyX) C:\lyx\master\src\support\RandomAccessList.h 299 > > Reverting 86a10281da8dfd3e0892c368476dc867d5bfd852 helped with both. > So should I leave it reversed and compile with C++17 for the alpha1? Or > what would you propose to do? >
Compiling with C++17 didn't help in my case. Here is the version I'm using (Visual C++ Build Tools): 16.7.1 (19.27.29111 according to cl.exe). Maybe it's version-dependent?
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel