What is the adventage of macros against function

Ozan Türkyılmaz ozan.turkyilmaz at gmail.com
Wed Apr 27 10:12:29 EDT 2011


On Wed, 27 Apr 2011, Jonathan Neuschäfer wrote:
> That's why GCC (and probably other compilers, too) has the the inline
> keyword.

inline keyword is  widely supported by c compilers. Modern compiles even 
now support optimizations based on automatic inline to speed up programs 
etc. (OPTIMIZE_INLINING=y. It uses several flags to use that 
optimization).

-- 
Ozan, BSc, BEng


More information about the Kernelnewbies mailing list