home *** CD-ROM | disk | FTP | other *** search
- 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
- From: alex@kirsche.intellektik.informatik.th-darmstadt.de (Alexander Gassmann)
- Newsgroups: comp.windows.interviews
- Subject: Problems with IBuild-generated code
- Date: 27 Jan 1993 14:55:10 GMT
- Organization: Technische Hochschule Darmstadt
- Lines: 26
- Sender: alex@kirsche (Alexander Gassmann)
- Distribution: world
- Message-ID: <1k67oeINNhb8@rs2.hrz.th-darmstadt.de>
- NNTP-Posting-Host: kirsche.intellektik.informatik.th-darmstadt.de
-
- When I compose a dialog and generate the core classes with
- IBuild, there comes almost always a compiler error:
-
- WarningDialog-core.c: In method `class ivInteractor*
- WarningDialog_core::Interior ()':
- WarningDialog-core.c:102: conflicting types for `_BS_7'
- WarningDialog-core.c:101: previous declaration of `_BS_7'
-
- The corresponding code is:
-
- Interactor*WarningDialog_core::Interior() {
- ButtonState* _BS_7 = state;
- WarningDialog_core_Button* _BS_7 = new WarningDialog_core_Button(0);
- //etc...
- }
-
- The problem is solved when I delete the second declaration of _BS_7,
- and everything works fine. But that is not a very good solution...
-
- I suspect that some kind of setting concerning
- the OK-Button and the ButtonState of the Dialog Box is conflicting,
- but I have no idea what I have done wrong.
-
- Can anybody help me? Thanks,
-
- Alexander Gassmann
-