On Aug 29, 2016, at 8:19 AM, Richard Hipp <[email protected]> wrote:
> 
> On 8/29/16, Warren Young <[email protected]> wrote:
>> 
>> That’s only a partial fix.  You also need to add a prototype for
>> uvstat_page() to one of the header files that src/doc.c includes, so the
>> compiler would catch that.
> 
> The header files in Fossil are automatically generated.

Okay, in that case, the problem is that doc.c doesn’t include unversioned.h, 
which allows the C compiler to make a wild guess about the prototype which 
turns out (unsurprisingly) to be incorrect.

I tried adding a #include for this, but then I get complaints about multiple 
definitions for struct Blob and others.  This in turn seems to be due to a 
conflict with the generated doc.h file.

I’m not seeing the point of generating unversioned.h if C modules other than 
unversioned.c cannot #include it.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to