Article View: gnu.gcc.bug
Article #1401-D/-U interaction bug ?
From: Andreas Stolcke
Date: Mon, 16 Nov 1992 23:32
Date: Mon, 16 Nov 1992 23:32
20 lines
1261 bytes
1261 bytes
I find that gcc 2.3.1 doesn't handle -DFOO -UFOO as it used to.
The -U option seems to be ignored in this case, whereas up to gcc 2.2.2
it would override the -D option. This is the behavior that is
documented and that other C compilers seem to prefer as well.
gcc -Upredefined_symbol seems to have stopped working as well.
Incidentally, this breaks the compile of the MIT R5 XsunMono server.
here is a clue from ChangeLog:
Fri Oct 2 20:03:53 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
* cccp.c (main): Handle -U before -D (and -A).
What's the story?
--
Andreas Stolcke stolcke@icsi.berkeley.edu
International Computer Science Institute stolcke@ucbicsi.bitnet
1947 Center St., Suite 600, Berkeley, CA 94704 (510) 642-4274 ext. 126
Technical Details
Message-ID:
<1e9b34INNd53@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icsi.berkeley.edu!stolckeShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!icsi.berkeley.edu!stolcke From: stolcke@icsi.berkeley.edu (Andreas Stolcke) Subject: -D/-U interaction bug ? Message-ID: <1e9b34INNd53@agate.berkeley.edu> Sender: gnulists@ai.mit.edu Organization: International Computer Science Institute, Berkeley, CA, U.S.A. Distribution: gnu Date: Mon, 16 Nov 1992 23:32:52 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 21