ports/119947: stardict-2.4.8_4 compile error with gcc-4.2.1
hoodng at hotmail.com
Thu Jan 24 17:50:01 UTC 2008
>Synopsis: stardict-2.4.8_4 compile error with gcc-4.2.1
>Arrival-Date: Thu Jan 24 17:50:00 UTC 2008
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