From: Wolfgang Denk Date: Mon, 09 Aug 2010 01:12:09 +0200 Subject: [U-Boot] [PATCH] config.mk: avoid -traditional-cpp on OS X 10.5 In-Reply-To: <1280877458-20990-1-git-send-email-vapier@gentoo.org> References: <1280877458-20990-1-git-send-email-vapier@gentoo.org> Message-ID: <20100808231209.73F781536EF@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 Mike Frysinger, In message <1280877458-20990-1-git-send-email-vapier@gentoo.org> you wrote: > Simply trying to include a basic header file like stdlib.h on OS X 10.5 > and then building with -traditional-cpp fails with lots of errors like: > In file included from /usr/include/stdlib.h:63, > from test.c:3: > /usr/include/available.h:85: error: stray '#' in program > /usr/include/available.h:85: error: syntax error before numeric constant > /usr/include/available.h:86: error: stray '#' in program > > In the past, I hadn't noticed because the old logic for these flags were > restricted to Darwin running on PowerPC systems while I'm running on an > Intel system. But after some recent clean ups and changes, the flag was > being applied to all Darwin systems and my host tools broke. > > Signed-off-by: Mike Frysinger > --- > Note: i've only tested Darwin/x86 as my Darwin/ppc is having hardware > trouble atm ... not sure when/if i'll get it fixed > > config.mk | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) Applied, 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 Any sufficiently advanced technology is indistinguishable from magic. Clarke's Third Law - _Profiles of the Future_ (1962; rev. 1973) ``Hazards of Prophecy: The Failure of Imagination''