Closed FauxFaux closed 10 years ago
The inline keyword actually changes the semantics in c99, instead of just acting as a hint. The usage in driftnet is incorrect.
inline
http://clang.llvm.org/compatibility.html#inline explains why clang does different things.
clang
Testcase:
./configure CC=clang CXX=clang++ && make
I always think that inline were only a mere hint, but I was complete unaware of the C99 behavior that threats it like a declaration. Good to know.
Thanks for the pull Chris !!
The
inline
keyword actually changes the semantics in c99, instead of just acting as a hint. The usage in driftnet is incorrect.http://clang.llvm.org/compatibility.html#inline explains why
clang
does different things.Testcase: