home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13442 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!andersen!edy
  3. From: edy@andersen.com (Edy Liongosari)
  4. Subject: cpp/cfront program size limitation
  5. Message-ID: <1992Sep9.201712.21497@news.acns.nwu.edu>
  6. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  7. Organization: Andersen Consulting
  8. Date: Wed, 9 Sep 1992 20:17:12 GMT
  9. Lines: 29
  10.  
  11.  
  12. I am using cfront 2.x in a Sun Sparc to compile about 45,000 lines
  13. of C++ program. The resulting C code has invalid line numbers
  14. after line (+/-) 32000.
  15. It seems to me the variable to store the line number is of type "short" 
  16. integer. Can any body confirm or deny this?
  17. If so, do you know any way to fix this from cpp/cfront side?
  18.  
  19. I know that I can break to program into several smaller pieces. I am looking
  20. for other solutions.
  21.  
  22. Thank you.
  23.  
  24. -Edy
  25.  
  26. PS: FYI, the 45,000 line program is generated by a tool and not by human.
  27.     I am trying to find a quick fix to the problem since we do not have
  28.     the source code of the tool that generates the program.
  29.     I guess, I can write a post-processor to slit the resulting program
  30.     into smaller pieces.
  31.  
  32.     Any advice?
  33.     
  34.  
  35. -------------------------------------------------------------------------
  36.  
  37. Edy S. Liongosari                                E-mail: edy@andersen.com
  38. Center for Strategic Technology Research            Phone: (312) 507-8482
  39. Andersen Consulting                                   Fax: (312) 507-3526
  40.