Dominique Dhumieres wrote: > FX Coudert has sent me the following patch for fixincludes/inclhack.def:
[ snipped all but one representative line. ] > + sed = "/#define[ \t]+INTPTR_MIN[\t]+INT64_MIN/#define INTPTR_MIN > ((intptr_t) INT64_MIN)/"; > I have succeeded to regenerate fixincludes/fixincl.x using > fixincludes/genfixes. After that, I bootstrapped without problem, but the > test gcc.dg/c99-stdint-1.c is still broken and if I run "make check" in > <build-dir>/fixincludes I get > > ... Fixed: wchar.h Missing header fix: stdint.h > > There were fixinclude test FAILURES make: *** [check] Error 1 > > Is the FX's patch correct? If no, what should I change? If yes, what did I > miss? I don't know what it's trying to tell you with the fixincludes FAIL. Did you verify manually if the fixes perhaps didn't match against the stdint.h you have on your release of the O/S? Is stdint.h in some non-standard place where it didn't get found? If you tell me which line the c99-stdint-1.c failure(s) is/are on, I could parse it/them for you. (I suspect that the example lines I quoted above might cause problems if they /did/ get applied, because I think you're not allowed to use casts in these definitions; or at least, I think I remember having read something to that effect, but I can't remember if it was in a list email or a comment in the source code, I'll see if I can dig up anything more concrete.) cheers, DaveK