home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!andersen!edy
- From: edy@andersen.com (Edy Liongosari)
- Subject: cpp/cfront program size limitation
- Message-ID: <1992Sep9.201712.21497@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Organization: Andersen Consulting
- Date: Wed, 9 Sep 1992 20:17:12 GMT
- Lines: 29
-
-
- I am using cfront 2.x in a Sun Sparc to compile about 45,000 lines
- of C++ program. The resulting C code has invalid line numbers
- after line (+/-) 32000.
- It seems to me the variable to store the line number is of type "short"
- integer. Can any body confirm or deny this?
- If so, do you know any way to fix this from cpp/cfront side?
-
- I know that I can break to program into several smaller pieces. I am looking
- for other solutions.
-
- Thank you.
-
- -Edy
-
- PS: FYI, the 45,000 line program is generated by a tool and not by human.
- I am trying to find a quick fix to the problem since we do not have
- the source code of the tool that generates the program.
- I guess, I can write a post-processor to slit the resulting program
- into smaller pieces.
-
- Any advice?
-
-
- -------------------------------------------------------------------------
-
- Edy S. Liongosari E-mail: edy@andersen.com
- Center for Strategic Technology Research Phone: (312) 507-8482
- Andersen Consulting Fax: (312) 507-3526
-