[LLVMdev] Problem with __inline keyword
Anton Korobeynikov
anton at korobeynikov.info
Fri Jul 6 16:01:08 PDT 2012
Hello
> I know there are some weird semantics among different compilers with
> the inline/__inline keywords in C when you don't pair them with
> static, but I can't imagine that this is correct. Is there a bug
> here, or am I missing something?
Yes, clang is correct here, you're missing C99 inline semantics. You
can either read C99 standard or
http://clang.llvm.org/compatibility.html#inline
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list