home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / g / help / 1589 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!drutx!druwa!ddc
  2. From: ddc@druwa.ATT.COM (CusterDD)
  3. Newsgroups: gnu.g++.help,gnu.g++
  4. Subject: libg++ make fails -- new
  5. Keywords: libg
  6. Message-ID: <22845@drutx.ATT.COM>
  7. Date: 14 Dec 92 04:18:23 GMT
  8. Sender: news@drutx.ATT.COM
  9. Lines: 62
  10.  
  11. First, thanks to all those who responded to my first plea.
  12. Removing th -g got past the previous problem.  Now I have a new one.
  13.  
  14. Machine: 386/25 clone
  15.  
  16. OS: ESIX System V/386 Release 4.0 Version 4 
  17.  
  18. X: X11R4, Motif
  19.  
  20. Compiler: gcc 2.3.2
  21.  
  22. Make: gnu make 
  23.  
  24. c++ Experience: not very much  (I do device drivers for a living-this is play)
  25.  
  26. Procedure:
  27.  
  28. cd to gnu/libg++-2.2
  29. gmake -w all
  30. { losts of stuff removed.  no errors, some warnings about casting void* }
  31.  
  32. gmake[2] Entering directory gnu/libg++-2.2/libg++/src
  33.  
  34. { stuff deleted, no errors }
  35.  
  36. gcc -nostdinc++ -I.. -I. -I./../iostram -I./../g++-include -c String.cc
  37. In file included from ./../iostream/iostream.h:25,
  38. from ./../iostream/stream.h:7, from ./String.h:27, from String.cc:215:
  39. ../..iostream/streambuf.h:359: warning type specified omitted for parameter
  40. ./../iostream./streambuf.h:259:: parse error before `)'
  41. ../..iostream/streambuf.h:360: warning type specified omitted for parameter
  42. ./../iostream./streambuf.h:260:: parse error before `)'
  43.  
  44. { similar diagnostics for iostream.h:60, iostream.h 152, iostream.h 225
  45.   iostream.h 247 followed by}
  46.  
  47. ./../iostream/iostream.h:226: `format' undeclared (first use this function)
  48.  
  49. { and similar complaints in iostream.h:248 regarding format and args }
  50. gmake[2] *** [String.o] Error 1
  51. ...
  52.  
  53. All the complaints have in common _G_va_list
  54.  
  55. I found
  56.  
  57. #define _G_va_list __gnuc_va_list
  58.  
  59. in config.h.  In the hopes that somehow config.h wasn't being included,
  60. I manually made the substition at one place in streambuf.h:359
  61.  
  62. Results: the same.
  63.  
  64.  
  65. Anyone have a cure?
  66.  
  67. Thanks in advance
  68.  
  69. Dave Custer
  70. AT&T Bell Labs
  71. ddc@druwa.att.com
  72.  
  73.