home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1459 < prev    next >
Encoding:
Text File  |  1992-11-19  |  999 b   |  38 lines

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!emory!emory!usenet
  2. From: sb@next.neuro.emory.edu (Stephen O. Berger)
  3. Newsgroups: gnu.g++.help
  4. Subject: How do I fix wchar_t type conflict in g++ 2.3.1 ?
  5. Date: 19 Nov 1992 14:59:58 GMT
  6. Organization: Emory University, Dept of Math and CS
  7. Lines: 26
  8. Message-ID: <1ega5eINN8ce@emory.mathcs.emory.edu>
  9. Reply-To: sb@next.neuro.emory.edu
  10. NNTP-Posting-Host: next.neuro.emory.edu
  11.  
  12.  
  13. Hi,
  14.  
  15.   I've just compiled g++ 2.3.1 on a Sparc IPX running sunos 4.1.2 and I am  
  16. now getting a type conflict when compiling this simple program :
  17.  
  18. #include <sys/types.h>
  19.  
  20. main()
  21. {
  22.  
  23. }
  24.  
  25. Here are the error messages generated :
  26.  
  27. In file included from /usr/local/lib/g++-include/sys/types.h:15, from  
  28. t3.cc:1:
  29. /usr/include/sys/types.h:24: conflicting types for `wchar_t'
  30. /usr/local/lib/g++-include/stddef.h:11: previous declaration of `wchar_t'
  31.  
  32.  
  33. Has anyone else encountered this problem ?  gcc 2.2.1 did not exhibit this
  34. problem.
  35.  
  36.  
  37. Steve Berger (sb@onripx.neuro.emory.edu)
  38.