🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #363

include problem

#363
From: Craig A. Lee
Date: Mon, 07 Jan 1991 19:13
16 lines
1212 bytes
Hi,  I have a 9K line g++ program that I've developed/compiled/run on
a sun4 and now I want to compile it for the i386.

On the i386, however, the preprocessor complains about not being able
to find multiple include files.  The problem is that these files exist
in the current directory and the preprocessor has found them once before
already.  All of these *.h files are wrapped with #ifndef's since most
of these files can get included from several places.

I poked around in the source for the preprocessor and it appears that
there is a limit of 200 for include nesting and it's not producing the
error message associated with exceeding this limit anyway.

Does anybody know off-hand what's happening and what to do about it?

TiA, CL
Technical Details
Message-ID: <96211@aerospace.AERO.ORG>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!AEROSPACE.AERO.ORG!lee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!AEROSPACE.AERO.ORG!lee
From: lee@AEROSPACE.AERO.ORG (Craig A. Lee)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: include problem
Message-ID: <96211@aerospace.AERO.ORG>
Date: 7 Jan 91 19:13:12 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: lee@aerospace.aero.org (Craig A. Lee)
Followup-To: gnu.g++.help
Organization: The Aerospace Corporation
Lines: 16