Re: Debug build fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-09-29 at 17:50 +0100, Alan Jenkins wrote:
> udevadm-info.c: In function âprint_all_attributesâ:
> udevadm-info.c:65: error: âudevâ undeclared (first use in this function)
> udevadm-info.c:65: error: (Each undeclared identifier is reported only once
> udevadm-info.c:65: error: for each function it appears in.)
> udevadm-info.c:72: error: âinfoâ undeclared (first use in this function)
> 
> 
> The dbg() macro sucks.  The disabled version should be an inline
> function, so it catches these errors on normal builds. 

Sounds good.

> Obviously the callers need to be fixed before this can be applied.

Done.

> Allow compiler to check dbg() arguments on non-debug builds

Applied.

Thanks,
Kay

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux