home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / help / 2471 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.2 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
  2. From: rms@gnu.ai.mit.edu (Richard Stallman)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Problem w/ included files on sparc w/ gcc 2.3.1
  5. Message-ID: <9211070023.AA11445@mole.gnu.ai.mit.edu>
  6. Date: 6 Nov 92 14:23:45 GMT
  7. Article-I.D.: mole.9211070023.AA11445
  8. References: <45371@ogicse.ogi.edu>
  9. Sender: daemon@cis.ohio-state.edu
  10. Distribution: gnu
  11. Organization: GNUs Not Usenet
  12. Lines: 21
  13.  
  14.  
  15.     He very kindly provided me the following patch:
  16.  
  17.     > change /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/stddef.h
  18.     > 
  19.     > #ifdef __GNUG__
  20.     > /* In C++, wchar_t is a distinct basic type,
  21.     >    and we can expect __wchar_t to be defined by cc1plus.  */
  22.     > typedef unsigned short wchar_t;    /* CHANGED LINE */
  23.     > #else
  24.     > 
  25.     > (~40 lines from the bottom).
  26.  
  27. This is most certainly not the right fix, though it may suffice as a
  28. temporary workaround.
  29.  
  30. I can't begin to figure out what is the right fix unless you send more
  31. information.  What you sent shows *that there is* a problem but sheds
  32. no light on what is wrong.  If you find two declarations conflict, you
  33. must *show* both declarations.  Please see the Bugs chapter in the GCC
  34. manual.
  35.