On Sat, 2 Jan 2021 at 07:37, Yu Jin <yu_...@lyx.org> wrote:
> Am Mi., 30. Dez. 2020 um 20:40 Uhr schrieb Yu Jin <yu_...@lyx.org>: > >> Am Mi., 30. Dez. 2020 um 20:33 Uhr schrieb Thibaut Cuvelier < >> tcuvel...@lyx.org>: >> >>> 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? >>>> >>> > Since there were no other proposals I just compiled in C++17 mode. I > didn't increase the Version Build number (still Installer-1), because I > thought that makes the most sense for testing releases, also for the > registry. Uploaded as usual. > > 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? >>> >> >> I'm using 16.8.2 (cl.exe says 19.28.29334), I always try to update it >> asap. >> > I pushed the corresponding patch: adf62c31843c94bc5bbb3531bfe66a28ca9ee3be
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel