On Fri, 27 Sep 2013 17:28:38 +0200 Gerhard Sittig <g...@denx.de> wrote:
> a disabled Kconfig option results in a reference to a not implemented > routine when the IS_ENABLED() macro is used for both conditional > implementation of the routine as well as a C language source code test > at the call site -- the "if (0) func();" construct only gets eliminated > later by the optimizer, while the compiler already has emitted its > warning about "func()" being undeclared applied, thanks! _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev