hi everyone,

i am trying to build the gv package on mountain lion, 10.8.
it fails to compile Vlist.c

i ran "fink selfupdate" to no avail.

relevant info is:

Package manager version: 0.34.2
Distribution version: selfupdate-rsync Sun Aug  5 23:45:17 2012, 10.8, x86_64
Trees: local/main stable/main
Xcode.app: 4.4
Xcode command-line tools: 4.4.0.0.1.1249367152
Max. Fink build jobs:  1


gcc -DHAVE_CONFIG_H -I.  -DNON_BLOCKING_IO -DGV_CODE -DGV_CODE 
-DGV_LIBDIR=\"/sw/lib/gv\" -I../lib -I../lib -g -I/usr/X11R6/include 
-I/sw/include/gnugetopt -I/sw/include -I/usr/X11R6/include -DUSE_SETENV_CODE -g 
-O2 -c Vlist.c
Vlist.c:281:49: warning: use of unary operator that may be intended as compound 
assignment (-=)
    if (!nvw->vlist.entries) nvw->vlist.entries =- 1;
                                                ^~
Vlist.c:323:18: error: no member named 'international' in 'SimplePart'
  if( vw->simple.international == True ) {
      ~~~~~~~~~~ ^
Vlist.c:324:56: error: no member named 'fontset' in 'LabelPart'
    XFontSetExtents *ext = XExtentsOfFontSet(vw->label.fontset);
                                             ~~~~~~~~~ ^
                                               ~~~~~~~~~ ^
Vlist.c:429:11: warning: promoted type 'int' of K&R function parameter is not 
compatible with the parameter type 'Boolean' (aka 'char') declared in a previous
      prototype [-Wknr-promoted-parameter]
  Boolean erase;
          ^
Vlist.c:108:59: note: previous declaration is here
static void PaintMarkOfEntry(Widget,Region,int,int,Boolean);
                                                          ^
Vlist.c:478:11: warning: promoted type 'int' of K&R function parameter is not 
compatible with the parameter type 'Boolean' (aka 'char') declared in a previous
      prototype [-Wknr-promoted-parameter]
  Boolean erase;
          ^
Vlist.c:109:59: note: previous declaration is here
static void PaintMarkMarkOfEntry(Widget,Region,int,Boolean);
                                                          ^
3 warnings and 4 errors generated.
make[2]: *** [Vlist.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2



fxt








------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to