home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / lib / bug / 803 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!avdms8.msfc.nasa.gov!jpc
  2. From: jpc@avdms8.msfc.nasa.gov (J. Porter Clark)
  3. Newsgroups: gnu.g++.lib.bug
  4. Subject: SUMMARY: libg++ 2.3 and SunOS 4.1.3
  5. Date: 25 Jan 1993 21:15:45 -0500
  6. Organization: NASA/MSFC
  7. Lines: 44
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-lib-g++@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <jpc.727995377@avdms8.msfc.nasa.gov>
  12. References: <jpc.727547925@avdms8.msfc.nasa.gov>
  13.  
  14. A few days ago, I posted this bug description:
  15.  
  16. >There's some sort of include file conflict between libg++ 2.3 and SunOS
  17. >4.1.3.  Here's what I get:
  18.  
  19. [much deleted]
  20.  
  21. >gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.cc
  22. >In file included from ./../g++-include/sys/types.h:15, from /usr/include/unistd.h:72, from ./../g++-include/unistd.h:25, from ./std.h:28, from AllocRing.cc:22:
  23. >/usr/include/sys/types.h:24: conflicting types for `wchar_t'
  24. >./../g++-include/stddef.h:11: previous declaration of `wchar_t'
  25. >*** Error code 1
  26. >make: Fatal error: Command failed for target `AllocRing.o'
  27.  
  28. After I posted the message, I discovered that there was in fact an
  29. earlier posting from Howard Ferguson <hlf@cerf.net> with much the same
  30. problem described.  I contacted Howard, and he said that Per Bothner
  31. <bothner@cygnus.com> told him to run the following after installing
  32. gcc-2.3.3:
  33.  
  34.   make install-fixincludes
  35.  
  36. (per the gcc instructions).  This does indeed fix the problem.  I do
  37. get some warnings here and there.
  38.  
  39. I always thought the fixincludes step was optional; you could run gcc
  40. with the -traditional flag and you'd be about as well off.  Apparently
  41. this isn't true for libg++.  I wish the libg++ documentation said
  42. something about this!
  43.  
  44. I also received "me too" queries from:
  45.  
  46.   Christian.Claveleira@irisa.fr (Christian Claveleira)
  47.   puri-sidd@CS.YALE.EDU (Sidd Puri)
  48.  
  49. I had an earlier response from Per Bothner, but it was more of a
  50. request for clarification.
  51.  
  52. BTW, I never saw the original article I posted on Usenet, but it seems
  53. that it made it as far as France.  Odd.
  54. --
  55. J. Porter Clark    jpc@avdms8.msfc.nasa.gov or jpc@gaia.msfc.nasa.gov
  56. NASA/MSFC Flight Data Systems Branch
  57.  
  58.