From: Wolfgang Denk Date: Wed, 10 Dec 2008 00:59:28 +0100 Subject: [U-Boot] [PATCH] libfdt: Fix redefined uintptr_t warning for USE_HOSTCC In-Reply-To: <20081124131502.GA4739@cideas.com> References: <20081124083514.49EC18361B03@gemini.denx.de> <20081124131502.GA4739@cideas.com> Message-ID: <20081209235928.700C7834B020@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jerry Van Baren, In message <20081124131502.GA4739@cideas.com> you wrote: > Compiling U-Boot in an old OS environment (RedHat-7.3 :-) gives the > following warnings from FDT: > > include/libfdt_env.h:50: warning: redefinition of 'uintptr_t' > /usr/include/stdint.h:129: warning: 'uintptr_t' previously declared here > > Fix: Protect the definition of uintptr_t when compiling on the host > system. > > Signed-off-by: Gerald Van Baren Appied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de An expert is a person who avoids the small errors while sweeping on to the grand fallacy.