home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2773 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  34 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icsi.berkeley.edu!stolcke
  3. From: stolcke@icsi.berkeley.edu (Andreas Stolcke)
  4. Subject: -D/-U interaction bug ?
  5. Message-ID: <1e9b34INNd53@agate.berkeley.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: International Computer Science Institute, Berkeley, CA, U.S.A.
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 23:32:52 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 21
  12.  
  13. I find that gcc 2.3.1 doesn't handle -DFOO -UFOO as it used to.
  14. The -U option seems to be ignored in this case, whereas up to gcc 2.2.2
  15. it would override the -D option.  This is the behavior that is 
  16. documented and that other C compilers seem to prefer as well.
  17. gcc -Upredefined_symbol seems to have stopped working as well.
  18.  
  19. Incidentally, this breaks the compile of the MIT R5 XsunMono server.
  20.  
  21. here is a clue from ChangeLog:
  22.  
  23. Fri Oct  2 20:03:53 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  24.  
  25.         * cccp.c (main): Handle -U before -D (and -A).
  26.  
  27. What's the story?
  28.  
  29. -- 
  30. Andreas Stolcke                    stolcke@icsi.berkeley.edu
  31. International Computer Science Institute    stolcke@ucbicsi.bitnet
  32. 1947 Center St., Suite 600, Berkeley, CA 94704    (510) 642-4274 ext. 126
  33.  
  34.