ports/119947: stardict-2.4.8_4 compile error with gcc-4.2.1

HuDong hoodng at hotmail.com
Thu Jan 24 17:50:01 UTC 2008

>Number:         119947
>Category:       ports
>Synopsis:       stardict-2.4.8_4 compile error with gcc-4.2.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 17:50:00 UTC 2008
>Originator:     HuDong
>Release:        8.0-CURRENT
FreeBSD TP600X 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Tue Jan 22 01:14:31 CST 2008
hoodng at TP600X:/usr/obj/usr/src/sys/MYKERNEL i386
When i used "make USE_GCC=4.2 install clean" to install stardict-2.4.8_4 on my FreeBSD 8.0-CURRENT, I meet with the error of compiling. It says, there is a piece of code in the "stardict.cpp" file invokes a private static method of TopWin class  which defined in the file "mainwin.h".

I try to fix this issue, so i redefine the static method of TopWin from private to public, it seems pass the compile. 
Now, I can use stardict, but it seems can not capture words of screen.


More information about the freebsd-ports-bugs mailing list