home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!fs7.ece.cmu.edu!alaybeyi
- From: alaybeyi@datsun.ece.cmu.edu (Murat Alaybeyi)
- Subject: Unreasonable include nesting?? (AT&T cfront question)
- Message-ID: <ALAYBEYI.92Aug19024046@datsun.ece.cmu.edu>
- Sender: news@fs7.ece.cmu.edu (USENET News System)
- Organization: VLSI CAD Center, Carnegie Mellon University
- Distribution: comp.lang.c++
- Date: Wed, 19 Aug 1992 07:40:46 GMT
- Lines: 45
-
-
- When I compile a bunch of C++ files using AT&T cfront2 I get a cpp error.
- The error message is as follows:
-
- /server/CenterLine/c++_1.1.0-r1.0/sun4-40/include/sys/resource.h : 8 :
- Unreasonable include nesting.
- CC: cpp failure : 2
- *** Error code 1
-
-
- I am pretty sure that all of my header files are protected against double inclusion.
-
- I also used gcc to find the inclusion dependencies of the source files, I did
- not get any cpp error in this case. (I still used the AT&T system header
- files; not the gnu header files)
-
-
- However when I include osfcn.h right at the beginning of the C file that I am
- compiling the error is gone and everything is fine.
-
- We have 7-8 level of include file nesting.
-
- This problem does not exist within objectcenter.
-
- Is there a known bug in the cfront system header files or is it a cpp error or
- something else that we are doing wrong.
-
- Murat Alaybeyi
- Vivek Raghavan
-
-
- --
- --
- Murat Alaybeyi, ECE Department
- Phone: (412) 268-5238 Carnegie Mellon University
- e-mail: alaybeyi@ece.cmu.edu Pittsburgh, PA. 15213 U.S.A.
-
-
-
-
-
-
-
-
-
-