On 2/24/18, Antoine Chavasse <[email protected]> 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
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to