Master uncompilable on cygwin
Enrico Forestieri
forenr at lyx.org
Sat Mar 5 02:04:23 UTC 2022
On Sat, Mar 05, 2022 at 03:00:08AM +0100, Thibaut Cuvelier wrote:
>
> On Sat, 5 Mar 2022 at 02:54, Enrico Forestieri <forenr at lyx.org> wrote:
>
> > On Sat, Mar 05, 2022 at 02:47:16AM +0100, Thibaut Cuvelier wrote:
> > >
> > > What's strange is that strfwd.h typeders trivdocstring as docstring
> > (unless
> > > STD_STRING_USES_COW is defined). I have no idea what this macro exactly
> > > does and when it is set, though :/.
> >
> > I think it refers to copy-on-write. I think mingw uses COW but not cygwin.
It is the other way around, actually.
> What I don't get is why casting one value is easy, but a vector is not...
> What about adding a manual cast around this line?
>
> std::vector<docstring> mathCommands() const { return math_commands_; }
What do you suggest?
--
Enrico
More information about the lyx-devel
mailing list