home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / gcc / help / 2727 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.1 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!sdd.hp.com!think.com!paperboy.osf.org!hsdndev!news.cs.umb.edu!betsys
  2. From: betsys@cs.umb.edu (Elizabeth Schwartz)
  3. Newsgroups: gnu.gcc.help
  4. Subject: What's the size limit for a GCC macro expansion?
  5. Message-ID: <BETSYS.92Dec11232126@ra.cs.umb.edu>
  6. Date: 12 Dec 92 04:21:26 GMT
  7. Sender: news@cs.umb.edu (USENET News System)
  8. Distribution: gnu
  9. Organization: University of Massachusetts at Boston
  10. Lines: 16
  11. Nntp-Posting-Host: ra.cs.umb.edu
  12.  
  13. Does anyone know what the limit is, in GNU C, of the size of
  14. a set of pre-processor macro expansions? It appears to be greater than 
  15. 16k and less than 64k. 
  16.  
  17. By this I mean if I write: 
  18. #define FOO(A,B) BAR(A,B) BAR(A,B)
  19. #define BAR(A,B) FRED(A,B) FRED(A,B)
  20.  
  21. and so on....how big can the result be?  
  22.  
  23. Thanks, Betsy
  24. --
  25. System Administrator                  Internet: betsys@cs.umb.edu
  26. MACS Dept, UMass/Boston               BITNET:ESCHWARTZ%UMBSKY.DNET@NS.UMB.EDU
  27. 100 Morrissey Blvd                    Staccato signals
  28. Boston, MA 02125-3393                      of constant information....
  29.