Error: attempt to compare iterators from different sequences
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sun May 19 18:20:01 UTC 2024
Le 19/05/2024 à 20:11, Richard Kimberly Heck a écrit :
> On 5/19/24 13:55, Scott Kostyshak wrote:
>> On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote:
>>> Le 18/05/2024 à 17:28, Scott Kostyshak a écrit :
>>>> When I compile LyX with some compiler debug flags and extra checks, I
>>>> get the output below when trying to compile a .lyx file to PDF.
>>>>
>>>> Anything worth fixing here?
>>> Definitely. Could you run it under gdb and tell us where the error
>>> happened
>>> to happen (if I may say)?
>> Backtrace attached.
>
> It's choking on:
>
> il.required().find("url") != il.required().end()
>
> and complaining that we are comparing iterators from different
> sequences. I'm puzzled why that would be.
If you look at the error details, it seems to me that the addresses are
different. But this is weird.
Note that we can use count() instead of find(), which would solve the issue.
JMarc
More information about the lyx-devel
mailing list