home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13423 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.5 KB  |  40 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!mcsun!sunic!kth.se!news.kth.se!RICHARD
  3. From: RICHARD@CLYDE.ttt.kth.se
  4. Subject: Re: HELP: aggregate type question.
  5. In-Reply-To: RICHARD@CLYDE.ttt.kth.se's message of Mon, 7 Sep 1992 20:02:03 GMT
  6. Message-ID: <RICHARD.92Sep9140541@CLYDE.ttt.kth.se>
  7. Sender: usenet@kth.se (Usenet)
  8. Nntp-Posting-Host: clyde.ttt.kth.se
  9. Organization: Department of TeleTransmission Theory
  10. References: <RICHARD.92Sep7210203@CLYDE.ttt.kth.se>
  11. Date: Wed, 9 Sep 1992 13:05:41 GMT
  12. Lines: 26
  13.  
  14. In article <RICHARD.92Sep7210203@CLYDE.ttt.kth.se> RICHARD@CLYDE.ttt.kth.se writes:
  15. I had this problem with aggregate typedefs failing to be that!
  16.  
  17. I must say I feel somewhat stupid. It was a recursive inclusion of header files
  18. which caused the problem, and thus, I got a reference to a struct before it was
  19. defined.
  20.  
  21. And yes, I DO form my header files like this:
  22.  
  23.     #ifndef _HEADER_H
  24.     #define _HEADER_H
  25.     ...
  26.     ...
  27.     #endif
  28.  
  29. so the error was more subtle than that.
  30.  
  31. Anyway, thank you for the help, and sorry for the waste of net.bandwidth.
  32.  
  33. --
  34. !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++!
  35. ! Richard Levitte, System manager       ! tel: int+46-8-790 64 23           !
  36. ! Royal Institute of Technology         ! fax: int+46-8-791 76 54           !
  37. ! Department of Teletransmition Theory  ! Internet: richard@ttt.kth.se      !
  38. ! S-100 44 Stockholm, Sweden            !                                   !
  39. !---------------------------------------------------------------------------!
  40.