Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Richard Hipp
On 8/29/16, Warren Young wrote: >> >> The header files in Fossil are automatically generated. > > Okay, in that case, the problem is that doc.c doesn’t include unversioned.h, That's not how makeheaders works. The prototype for the uvstat_page() function should be included in

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Warren Young
On Aug 29, 2016, at 9:52 AM, Warren Young wrote: > > On Aug 29, 2016, at 8:19 AM, Richard Hipp wrote: >> >> On 8/29/16, Warren Young wrote: >>> >>> That’s only a partial fix. You also need to add a prototype for >>> uvstat_page() to one

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Karel Gardas
On Mon, Aug 29, 2016 at 5:38 PM, Richard Hipp wrote: > On 8/29/16, Karel Gardas wrote: >> Hmm, conversation suggest that this is not bug in the code but trivial >> user error. OK! > > Half-true. Your original bug report was correct. And that problem >

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Warren Young
On Aug 29, 2016, at 8:19 AM, Richard Hipp wrote: > > On 8/29/16, Warren Young 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

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Richard Hipp
On 8/29/16, Karel Gardas wrote: > Hmm, conversation suggest that this is not bug in the code but trivial > user error. OK! Half-true. Your original bug report was correct. And that problem should be fixed with the most recent Fossil check-in. The subsequent report that

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Richard Hipp
On 8/29/16, Warren Young 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. (See the

Re: [fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-29 Thread Warren Young
On Aug 28, 2016, at 5:30 AM, Karel Gardas wrote: > > while building fossil-head just from minutes ago, my compiler on > Solaris 11.2 complain about: > > cc -I. -I../src/src -Ibld -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ > -DFOSSIL_DYNAMIC_BUILD=1 -g -O2 -DHAVE_AUTOCONFIG_H >

[fossil-users] Small tweak to fix compilation issue (at least on Solaris 11)

2016-08-28 Thread Karel Gardas
Hello, while building fossil-head just from minutes ago, my compiler on Solaris 11.2 complain about: cc -I. -I../src/src -Ibld -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -DFOSSIL_DYNAMIC_BUILD=1 -g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -o bld/doc.o -c bld/doc_.c "../src/src/doc.c", line