程式码: https://ideone.com/tLzUTW
文章: https://www.geeksforgeeks.org/inline-function-in-c/
文章里的说法是:
"Normally GCC’s file scope is “not extern linkage”. That means inline
function is never ever provided to the linker which is causing linker error,
mentioned above. "
基于看不懂上述英文的解释,请问是什么原因导致compiler error?