From: Nikita V. Youshchenko Date: Thu, 24 May 2007 00:01:41 +0400 Subject: [U-Boot-Users] [PATCH] fix compilation problem for mpc8349itx CFG_RAMBOOT In-Reply-To: <20070523195138.A061F35264A@atlas.denx.de> References: <20070523195138.A061F35264A@atlas.denx.de> Message-ID: <200705240001.46821@sercond.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > > Should they be renamed to CFG_COMMANDS_xxx? > > No, as CFG also has a specific meaning. Here, you just need > temporary, local variables. Please avoid name space pollution. You > can and should even #undef those after use. Hmm... nikita at blacky:~> cpp #define A aaa #define B A #undef A B # 1 "" # 1 "" # 1 "" # 1 "" A This example clearly shows that macros used to define other macros can't be undefined. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20070524/8a8153f6/attachment.pgp