Advanced Embedded C Language: What are Weak Symbols and Weak References?

Advanced Embedded C Language: What are Weak Symbols and Weak References?

I am Lao Wen, an embedded engineer who loves learning.Follow me, let’s become better together! <span><span>__attribute__</span></span> is a compiler directive, essentially a mechanism of <span><span>GNU C</span></span>, which provides certain attributes during declaration that take effect during the compilation phase for diversified error checking and advanced optimization. It is used to modify variables, functions, parameters, methods, … Read more