🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #291

problems porting interviews to ISC3.0

#291
From: Thomas Kaulmann
Date: Sat, 11 Apr 1992 15:54
63 lines
2428 bytes
hi,
i'm a beginner with c++ and InterViews and i try to get it to run on
my intel platform under isc3.0 with g++-2.1 and libg++-2.0.
i have a problem with building the Unidraw lib. i fixed it temporarily
by commenting out the nasty code ;-)


	g++ -O -Div2_6_compatible -DISC -DSYSV386 -DSYSV -DUSG  -I../../../.././src/include/InterViews/2.6 -I../../../.././src/include/IV-look/2.6 -I../../../.././src/include     -c ../catalog.c
// SOME WARNINGS DELETET....
../catalog.c:1596: bad argument 0 for function `istream::istream (struct streambuf*, class ostream* (=  0 ))' (type was unsigned int )
../catalog.c:1596: in base initialization for class `istream'
*** Error code 1

Stop.

the error occurs in catalog.c in libUnidraw.a in the following function
in line 1596:

PSPattern* Catalog::ReadPattern (const char* n, int index) {
    const char* def = GetAttribute(Name(n, index));

    if (def == nil) {
	return nil;
    }
    char* definition = strnew(def); // some sscanfs write to their format...

    PSPattern* pat = nil;
    boolean none = (definition[0] == 'n' || definition[0] == 'N');

    if (none) {
	pat = FindNonePattern();

    } else {
	if (strchr(definition, '.') != nil) {
// STUFF DELETED
	} else {
	    istream in(strlen(definition) + 1, definition); // HERE IS THE PROBLEM

            int data[patternHeight];
// STUFF DELETED
	}
    }
    delete definition;
    return pat;
}


this is not the only problem. another problem is, when i start ibuild, the
second time in the same directory where the TOOLS and *.Tool files exists,
it hangs forever.
i checked the restricted file name length (interactive 3.0 doesn't support
long file names) by mounting a bsd filesystem via nfs but the symptoms
are the same...


please, if you can help, do so!

thomax
-- 
Contributed Software, Thomas Kaulmann, Graefestr. 42, 1000 Berlin 61
G N U  &  N E T W O R K S  &  U N I X  Tel. : +49 30 694 69 07
Mail: thomax@utopia.contrib.de         Modem: +49 30 694 (6182|6749|6809)
Technical Details
Message-ID: <root.703007674@scuzzy>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!tmpmbx!scuzzy.in-berlin.de!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!tmpmbx!scuzzy.in-berlin.de!root
From: root@utopia.contrib.de (Thomas Kaulmann)
Newsgroups: comp.windows.interviews
Subject: problems porting interviews to ISC3.0
Message-ID: <root.703007674@scuzzy>
Date: 11 Apr 92 15:54:34 GMT
Sender: news@scuzzy.in-berlin.de (News Admin)
Organization: Contributed Software
Lines: 63