Another good argument against function macros

Dear RIOTers,

I just read about a buffer overflow in X.Org caused by a macro in a header file [1]. While the bug was fixed in 2013 it still may cause bugs in other software that uses this macro and has not been recompiled.

If we envision that single libraries may be updated in future IoT scenarios, I think this incident indicates yet another good argument against (non-trivial) function macros.

Cheers, Oleg

[1] http://lists.x.org/archives/xorg-announce/2015-April/002561.html