Summary: | sys-devel/clang-3.4.1-r100: clang errors out when compiling (linking) code containing inline functions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | PM <mitaspiotr> |
Component: | [OLD] Development | Assignee: | Gentoo Clang Team (OBSOLETE) <clang+obsolete> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
PM
2014-05-16 15:27:42 UTC
Thanks for the report! (and sorry for the delay) From http://clang.llvm.org/compatibility.html#inline, your sample code only works with -std=gnu89 (gcc default, but not clang) "clang -std=gnu89" will make it compile, and "gcc -std=c99" will show the same error as clang, so marking this as CANTFIX. Don't hesitate to reopen though if I misread the problem! |