This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inlining from another source file


On 1 October 2011 15:50, Ami Chayun wrote:
>
> What is the proper way to make GCC inline the function?

As it says on the page you linked to:
"The way to use it is to put a function definition in a header file
with these keywords, and put another copy of the definition (lacking
inline and extern) in a library file."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]