|
From: | Friedrich Beckmann |
Subject: | spread-sheet-widget-0.1 - Compiler Warnings - Install Error |
Date: | Fri, 15 Sep 2017 09:18:46 +0200 |
Hi John, you merged it! Thanks for all the work on the spread-sheet widget! When I replace the "install -D" with „cp“, then it works for me. Fritz ====== When I build spread-sheet-widget-0.1 on MacOS I get the following warnings: src/ssw-sheet-axis.c:1338:15: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] gint diff = abs (boundary - posn); ^ src/ssw-sheet-axis.c:1338:15: note: use function 'fabs' instead gint diff = abs (boundary - posn); ^~~ fabs 1 warning generated. src/ssw-sheet.c:950:16: warning: initializing 'const gchar *' (aka 'const char *') with an _expression_ of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] const gchar *data = "" (sd); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. main.o -MD -MP -MF demo/.deps/demo_demo-main.Tpo -c -o demo/demo_demo-main.o `test -f 'demo/main.c' || echo './'`demo/main.c demo/main.c:356:6: warning: incompatible pointer types assigning to 'CustomAxisModel *' (aka 'struct _CustomAxisModel *') from 'GObject *' (aka 'struct _GObject *') [-Wincompatible-pointer-types] ca = custom_axis_model_new (); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ========= make install shows the following error: FriedrichsMacBook:spread-sheet-widget-0.1 fritz$ make install /Applications/Xcode.app/Contents/Developer/usr/bin/make install-am /opt/local/bin/gsed -e 's|%version%|0.1|' \ -e 's|%prefix%|/Users/fritz/pspp/install|' \ -e 's|%glib_dependency%|'"glib-2.0 >= 2.44"'|' \ -e 's|%gtk_dependency%|'"gtk+-3.0 >= 3.14.5"'|' \ spread-sheet-widget.pc.in > spread-sheet-widget.pc,tmp mv spread-sheet-widget.pc,tmp spread-sheet-widget.pc ./install-sh -c -d /Users/fritz/pspp/install/lib chmod u+w /Users/fritz/pspp/install/lib /usr/bin/install -c -D spread-sheet-widget.pc /Users/fritz/pspp/install/lib/pkgconfig/spread-sheet-widget.pc /usr/bin/install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make[2]: *** [install-exec-local] Error 64 make[1]: *** [install-am] Error 2 make: *** [install] Error 2 FriedrichsMacBook:spread-sheet-widget-0.1 fritz$
|
[Prev in Thread] | Current Thread | [Next in Thread] |