One final message on this topic.  In my last message I mentioned four warnings 
remaining when I compile the file.  I decided to at least look at them in situ 
and see what they were.  It turned out that it took very little to fix them 
AFAIK.  Here is what I did:

> 
> Warning:   declaration of fsInfo shadows a previous local
> Warning:  shadowed declaration is here
> 

To resolve the above two warnings I changed this code:

(Around line 29173):
struct statfs fsinfo;
if(statfs(zPath, &fsInfo) == -1){

to 
struct statfs fsinfo1;
if(statfs(zPath, &fsInfo1) == -1){
**(note the change in fsInfo)**
AND

(found around line 29190)
useProxy = !(fsInfo.f_flags&MNT_LOCAL);

to this:
useProxy = !(fsInfo1.f_flags&MNT_LOCAL);
**(note the change in fsInfo)**


> Warning:   declaration of wait shadows a global decclaration
> Warning:  shadowed declaration is here


To resolve these two warnings I changed this code (found around 29859):

/* Not always defined in the headers as it ought to be */
Extern int gethostuuid(uuid_t id, const struct timespec wait);


To this:

/* Not always defined in the headers as it ought to be */
Extern int gethostuuid(uuid_t id, const struct timespec twait);
**(note the change in wait)**

I would appreciate it if those of you who know the code would double-check my 
hubris and let me know if I have done something monstrously (or maybe even just 
a little) stupid.  It wouldn't be the first time...

R,
John
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to