On Mon, Jun 13, 2016 at 4:46 PM, jungle Boogie <jungleboog...@gmail.com>
wrote:

> Maybe fix these minor warnings?
>
>  -g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -O2 -pipe   -o
> bld/lookslike.o -c bld/lookslike_.c
> ./src/lookslike.c:162:57: warning: '&&' within '||'
> [-Wlogical-op-parentheses]
>       if( ((c&0xc0)!=0x80) || ((c2<0xc2) || (c2>=0xf4)) &&
>                            ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
> ./src/lookslike.c:162:57: note: place parentheses around the '&&'
> expression to silence this warning
>       if( ((c&0xc0)!=0x80) || ((c2<0xc2) || (c2>=0xf4)) &&
>

That reminds me: i found a workaround for the "strict type punning"
warning[1] in cson reported a few weeks ago, but it will likely be the
weekend before i can patch and test it. It's not important for a release,
in any case, just a "nice to have" with certain gcc versions.


[1] = use memcpy() instead of *ptrDeref=foo.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to