https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219289
Bug ID: 219289
Summary: security/clambc: fails to build with lang/gcc6 or
later
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Blocks: 219275
CC: [email protected], [email protected]
Flags: maintainer-feedback?([email protected])
In file included from llvm/include/llvm/Support/Allocator.h:17:0,
from llvm/include/llvm/ADT/StringMap.h:18,
from llvm/include/llvm/System/Host.h:17,
from llvm/lib/System/Host.cpp:14:
llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id
before 'alignof'
static inline unsigned alignof() { return AlignOf<T>::Alignment; }
^~~~~~~
In file included from llvm/include/llvm/System/Host.h:17:0,
from llvm/lib/System/Host.cpp:14:
llvm/include/llvm/ADT/StringMap.h: In static member function 'static
llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const
char*, const char*, AllocatorTy&, InitType)':
llvm/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression
before '<' token
unsigned Alignment = alignof<StringMapEntry>();
^
llvm/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression
before '>' token
unsigned Alignment = alignof<StringMapEntry>();
^
llvm/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression
before ')' token
unsigned Alignment = alignof<StringMapEntry>();
^
build log: http://sprunge.us/FOVh
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219275
[Bug 219275] [exp-run] Update GCC_DEFAULT from 5 to 6
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"