phidget22networkserver installation error

Supporting 2.6 and up
Post Reply
calvin
Fresh meat
Posts: 1
Joined: Thu Jul 20, 2017 6:37 am
Contact:

phidget22networkserver installation error

Post 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.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: phidget22networkserver installation error

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests