Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526804 - app-text/aspell-0.60.6.1 with sys-devel/clang - 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 *co
Summary: app-text/aspell-0.60.6.1 with sys-devel/clang - In file included from ./commo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2014-10-25 22:02 UTC by Markus Ullmann
Modified: 2015-08-18 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,97.88 KB, text/plain)
2014-10-25 22:02 UTC, Markus Ullmann
Details
emerge --info (emerge-info.log,4.99 KB, text/plain)
2014-10-25 22:03 UTC, Markus Ullmann
Details
app-text/aspell-0.60.6.1 clang compilation (aspell-0.60.6.1-clang.patch,1.47 KB, patch)
2015-07-29 15:34 UTC, Johan Hattne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Ullmann 2014-10-25 22:02:56 UTC
Created attachment 387356 [details]
build.log

clang++ -DHAVE_CONFIG_H -I. -I./gen  -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR="/usr/share/locale"   -O2 -march=core2 -mtune=core2 -msse4.1 -msse4.2 -pipe -fno-exceptions -c -o prog/checker_string.o prog/checker_string.cpp
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;
                                            ^
Comment 1 Markus Ullmann 2014-10-25 22:03:44 UTC
Created attachment 387358 [details]
emerge --info
Comment 2 Johan Hattne 2015-07-29 15:34:07 UTC
Created attachment 407924 [details, diff]
app-text/aspell-0.60.6.1 clang compilation

Fix aspell compilation using clang.  From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180565.