Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 17:41:41 GMT
From:      HuDong <hoodng@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119947: stardict-2.4.8_4 compile error with gcc-4.2.1
Message-ID:  <200801241741.m0OHffLo065641@www.freebsd.org>
Resent-Message-ID: <200801241750.m0OHo0Kd063772@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 17:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     HuDong
>Release:        8.0-CURRENT
>Organization:
Jinfonet
>Environment:
FreeBSD TP600X 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Tue Jan 22 01:14:31 CST 2008
hoodng@TP600X:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
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".
>How-To-Repeat:

>Fix:
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.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801241741.m0OHffLo065641>