It doesn't work.

It seems to me that the current trunk version of dispatch.c, where the
CmdOrPage struct appears to be defined (according to grep), doesn't contain
a field called "eType".

http://fossil-scm.org/index.html/artifact?name=15e80d7d8df0f698&ln=32-37

On Sat, Feb 24, 2018 at 1:02 PM Richard Hipp <d...@sqlite.org> wrote:

> On 2/24/18, Antoine Chavasse <a.chava...@gmail.com> wrote:
> > Hello,
> >
> > I have the current build error on trunk:
>
> Might be a makefile dependency problem.  Try running "make clean
> fossil".  Report back whether or not that works.
>
> >
> > ../fossil-src/src/main.c:1770:18: warning: implicit declaration of
> > function 'CMDFLAG_TO_ETAG' is invalid in C99
> > [-Wimplicit-function-declaration]
> >    etag_require(CMDFLAG_TO_ETAG(pCmd->eType));
> >                 ^
> > ../fossil-src/src/main.c:1770:40: error: no member named 'eType' in
> > 'struct CmdOrPage'
> >    etag_require(CMDFLAG_TO_ETAG(pCmd->eType));
> >                                 ~~~~  ^
> >
> > It looks like those two errors are caused by missing changes that are
> > supposed to be in dispatch.c (the CmdOrPage struct is defined there,
> > and copying the CMDFLAG_TO_ETAG there from mkindex.c removes the
> > warning as well), but were somehow not included in any of the etags
> > branch commits.
> > _______________________________________________
> > fossil-users mailing list
> > fossil-users@lists.fossil-scm.org
> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> >
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to