From: Pedro A. <pe...@co...> - 2010-01-30 17:48:45
|
On Saturday 30 January 2010 11:35:45, Danny Backx wrote: > On Fri, 2010-01-29 at 18:47 +0100, Vincent Torri wrote: > > > > On Fri, 29 Jan 2010, Danny Backx wrote: > > > > > On Sat, 2010-01-23 at 13:33 +0100, Vincent Torri wrote: > > >> i've just installed cegcc (mingw32ce compiler) from the svn repo. There is > > >> a limits.h in the folowin sub directories: > > >> > > >> /home/torri/local/opt/mingw32ce/arm-mingw32ce/include/c++/4.4.0/tr1/ > > >> /home/torri/local/opt/mingw32ce/arm-mingw32ce/include/ > > >> /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/include-fixed/ > > >> /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/install-tools/include/ > > >> > > >> When i include limits.h, it is the one in the third directory that is > > >> chosen, and not the one in the second (which, i think, is the correct > > >> one). Is it normal ? Doesn't the gcc version include_next the mingw one? Is there actually a problem you're seeing? > I reread your original message again after a full reinstall on my > system. The full reinstall made the fourth limits.h - the one you're > mentioning - turn up again. > > So I must have removed it locally because of an issue with it, and > forgotten all about it :-) > > I just spent a while figuring out why this file is getting installed. In > the gcc build system, this appears to be hardcoded, so not something I > can work around easily without upsetting the gcc folks. > So the next best thing appears to just remove it in the > scripts/build-mingw32ce.h . > I just committed such a fix, can you verify ? Please don't. Please revert. If there's a real problem here, I'm sure it has a proper fix. Let's not get into the habbit of committing quick workarounds for not understood problems. -- Pedro Alves |