Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!ukc!icdoc!qmw-cs!liam From: liam@cs.qmw.ac.uk (William Roberts) Newsgroups: comp.unix.aux Subject: Re: gcc Summary: Use your debugging skills! Message-ID: <1590@sequent.cs.qmw.ac.uk> Date: 2 Feb 90 22:11:49 GMT References: Reply-To: liam@cs.qmc.ac.uk (William Roberts) Distribution: comp.unix.aux Organization: Computer Science Dept, Queen Mary and Westfield College, U of London, UK. Lines: 25 Expires: Sender: Followup-To: Keywords: In article bkilgore@nmsu.edu (Bruce Kilgore) writes: >Has anyone ran across "Unreasonalbe include nesting" when compiling >gcc. If so how can I resolve this problem ? Sorry people, this isn't shrink wrap stuff so expect to do some of your own problem solving. In this case, it is just a matter of using your existing tools properly. Try setting the CFLAGS to -E on a copy of the cc command that the gcc makefile was executing when this fault arose. What -E does is arrange just to run the preprocessor; this leaves handy remarks about include files in the file, so it should soon become obvious where your (infinite) include nesting is taking place. For my money your tm.h file includes itself, but I haven't yet laid hands on a copy of the gcc source with any AUX specific stuff so I don't speak from specific experience here. -- William Roberts ARPA: liam@cs.qmw.ac.uk Queen Mary & Westfield College UUCP: liam@qmw-cs.UUCP Mile End Road AppleLink: UK0087 LONDON, E1 4NS, UK Tel: 01-975 5250 (Fax: 01-980 6533)