Displaying 1 result from an estimated 1 matches for "caa937e0".
2014 Sep 04
4
[LLVMdev] Conditions that cause Clang refuse inlining a function
Hi,
I want to have some functions in my code inline so I use the *inline *
keyword:
*inline void foo() {}*
On some functions the compiler inlines the function but it fails to do so
on other functions and thus I get a linkage error:
*error: undefined reference to 'foo'*
What are the conditions that make the compiler refuse inline?
Thanks,
David
p.s. I know that there are ways to pass