home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / intervie / 3639 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.5 KB

  1. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!udel!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!nigel.msen.com!math.fu-berlin.de!news.th-darmstadt.de!kirsche!alex
  2. From: alex@kirsche.intellektik.informatik.th-darmstadt.de (Alexander Gassmann)
  3. Newsgroups: comp.windows.interviews
  4. Subject: Problems with IBuild-generated code
  5. Date: 27 Jan 1993 14:55:10 GMT
  6. Organization: Technische Hochschule Darmstadt
  7. Lines: 26
  8. Sender: alex@kirsche (Alexander Gassmann)
  9. Distribution: world
  10. Message-ID: <1k67oeINNhb8@rs2.hrz.th-darmstadt.de>
  11. NNTP-Posting-Host: kirsche.intellektik.informatik.th-darmstadt.de
  12.  
  13. When I compose a dialog and generate the core classes with
  14. IBuild, there comes almost always a compiler error:
  15.  
  16. WarningDialog-core.c: In method `class ivInteractor* 
  17.                                  WarningDialog_core::Interior ()':
  18. WarningDialog-core.c:102: conflicting types for `_BS_7'
  19. WarningDialog-core.c:101: previous declaration of `_BS_7'
  20.  
  21. The corresponding code is:
  22.  
  23. Interactor*WarningDialog_core::Interior() {
  24.     ButtonState* _BS_7 = state;
  25.     WarningDialog_core_Button* _BS_7 = new WarningDialog_core_Button(0);
  26. //etc...
  27. }
  28.  
  29. The problem is solved when I delete the second declaration of _BS_7,
  30. and everything works fine. But that is not a very good solution...
  31.  
  32. I suspect that some kind of setting concerning
  33. the OK-Button and the ButtonState of the Dialog Box is conflicting,
  34. but I have no idea what I have done wrong.
  35.  
  36. Can anybody help me?   Thanks,
  37.  
  38. Alexander Gassmann
  39.