Page 1 of 1

phidget22networkserver installation error

Posted: Thu Jul 20, 2017 6:43 am
by calvin
Attempting to install phidget22networkserver-1.0.0.20170711, same error on both raspberry pi noobs, ubuntumate & x86 ubuntu 14.04 box.

libphidget22 & libphidget22extra install fine.

when doing a make on phidget22networkserver it errors out with

src/sqlite3.c: In function ‘parseYyyyMmDd’:
src/sqlite3.c:19115:42: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
while( sqlite3Isspace(*zDate) || 'T'==*(u8*)zDate ){ zDate++; }

Any ideas?
Thanks.

Re: phidget22networkserver installation error

Posted: Thu Jul 20, 2017 11:01 am
by Patrick
Are you sure it's stopping the build? -Werror isn't set in the compiler flags so warnings shouldn't stop the build.

These warnings can be disabled in Makefile.am - remove -Wcast-qual and -Wwrite-string. I'll also disable them in the next release.

-Patrick