[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

spread-sheet-widget-0.1 - Compiler Warnings - Install Error

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.


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
  gint diff = abs (boundary - posn);
src/ssw-sheet-axis.c:1338:15: note: use function 'fabs' instead
  gint diff = abs (boundary - posn);
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/  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,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$ 

Am 15.09.2017 um 07:09 schrieb John Darrington <address@hidden>:

Follow-up Comment #4, bug #47251 (project pspp):

Can you check this with the current HEAD and see if there is any improvement?


Reply to this item at:


 Message sent via/by Savannah

Bug-gnu-pspp mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]