Summary: | Fix textproc/wordnet build with clang 3.6.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | Mikhail Teterin <mi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 197395 | ||||||
Attachments: |
|
Description
Dimitry Andric
2015-02-24 20:52:44 UTC
Thank you, Dimitry, for the patch. Have you checked, whether the __DECONST() macro works with the older gcc compilers used by FreeBSD's earlier releases? A commit references this bug: Author: mi Date: Wed Feb 25 00:55:57 UTC 2015 New revision: 379859 URL: https://svnweb.freebsd.org/changeset/ports/379859 Log: Rephrase how we do the const-dropping casting so as to pass the muster of clang-3.6.0 PR: 198009 Submitted by: dim Changes: head/textproc/wordnet/files/patch-lib__wnutil.c Yes, the __DECONST construct works with gcc-4.2.1 as well. Thank you. |