R. Edwin Garcia wrote:
Hi,

I am trying to install gui-2.1-16 using fink through FinkCommander.

Pleas wait until version 2.1-26 reaches the selfupdate mirrors and then try if this works.

Explanation for the record: This error

cc -c -w -I/usr/X11R6/include -I/sw/include   glui_add_controls.cpp
glui.h:298: error: a class-key must be used when declaring a friend
glui.h:298: error: friend declaration does not name a class or function

that was reported (with a proposed patch) and ignored already 3 months ago, is due to another instance of the increasing intolerance of g++4.0. It doesn't accept declarations

 friend FOO;

any more, you have to say

 friend class FOO;

now. In 10.4-transitional we don't use g++-4.0, in principle, but this is one of those packages that slipped under the radar by using "cc" for compiling C++ code.

I fixed both problems in CVS now.

If anyone wants to look more seriously at this package: It should probably be upgraded to version 2.2 that was released almost two years ago, see http://sourceforge.net/project/showfiles.php?group_id=92496

--
Martin



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to