ports/180565: Aspell compilation error with Clang

dt71 dt71 at gmx.com
Mon Jul 15 02:00:01 UTC 2013


>Number:         180565
>Category:       ports
>Synopsis:       Aspell compilation error with Clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 02:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     dt71
>Release:        -CURRENT
>Organization:
>Environment:
FreeBSD  10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253214M: Thu Jul 11 19:45:17 CEST 2013     root@:/usr/obj/usr/src/sys/CUSTOM  i386

>Description:
In file included from prog/aspell.cpp:38:
In file included from prog/check_funs.hpp:10:
In file included from prog/checker_string.hpp:14:
In file included from ./common/document_checker.hpp:10:
In file included from ./common/filter.hpp:13:
In file included from ./common/posib_err.hpp:13:
./common/errors.hpp:17:36: error: redefinition of 'aerror_other' with a
      different type: 'const acommon::ErrorInfo *const' vs 'const struct AspellErrorInfo *const'
extern "C" const ErrorInfo * const aerror_other;
                                   ^
./interfaces/cc/aspell.h:240:45: note: previous definition is here
extern const struct AspellErrorInfo * const aerror_other;
                                            ^

This error message is repeated for a multitude of types.
>How-To-Repeat:
Try to build Aspell with a recent version of Clang (eg., r186084).
>Fix:


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


More information about the freebsd-ports-bugs mailing list