
5 Dec
2006
5 Dec
'06
10:35 p.m.
In message E7593982-8064-4D57-A8D8-83262D2522BA@kernel.crashing.org you wrote:
If the intent is for 'documentation' how about doing:
#define CONFIG_MPC8349 ##
So that if someone uses CONFIG_MPC8349 you can a compile error.
I think that's a pretty dirty trick. Please don;t do such things. If you want to throw an error, then do it explicitely.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It is easier to write an incorrect program than understand a correct
one.