🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
1 messages
1 total messages Started by Alexander Gassmann Wed, 27 Jan 1993 14:55
Problems with IBuild-generated code
#1579
Author: Alexander Gassmann
Date: Wed, 27 Jan 1993 14:55
26 lines
1570 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads