Article View: comp.windows.interviews
Article #576Interviews 3.1-beta/Sun C++ 2.1
From: Todd A. Mancini
Date: Wed, 02 Sep 1992 22:34
Date: Wed, 02 Sep 1992 22:34
42 lines
1904 bytes
1904 bytes
Hello all.
I'm new to the InterViews world. I went about compiling 3.1-beta using
Sun C++ 2.1. I ran into a few problems, and solved them as follows:
in iv/src/include/OS/math.h
there is a declaration for both
static boolean equal(float x, float y, float e);
and
static boolean equal(double x, double y, double e);
which Sun 2.1 complains as being ambiguous (I guess it treats floats and
doubles exactly the same -- shame on them...)
So I simply commented out the float declaration.
Moreover, in iv/src/lib/Dispatch/dispatcher.c there the declaration
extern "C" {
extern int select(int, fd_set*, fd_set*, fs_set* struct timeval*);
}
which is an exact redeclaration from <sys/stropts.h>, which is #include'd.
So, once again, nuke this declaration.
After that, everything built smoothly.
Question: when I run idemo, the layout is VERY UGLY. The labels overlap
the objects they describe, and the Palette buttons appear starting in the
menu bar. Is this a bug in my build, or in idemo itself? Furthermore,
the sample programs which have a pull-down menu of fonts only show
dark black boxes (as if the font names are drawn with foreground=background=
BLACK). Any solutions? I am running on a color monitor. I admit that I
compiled with the b&w kit option, which I now understand is not part of
3.1beta. Could this be causing a problem?
Thanks,
-Todd
(mancini@cs.jhu.edu)
Technical Details
Message-ID:
<1992Sep2.223440.26546@blaze.cs.jhu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!blaze.cs.jhu.edu!fermat.cs.jhu.edu!manciniShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!blaze.cs.jhu.edu!fermat.cs.jhu.edu!mancini From: mancini@fermat.cs.jhu.edu (Todd A. Mancini) Newsgroups: comp.windows.interviews Subject: Interviews 3.1-beta/Sun C++ 2.1 Message-ID: <1992Sep2.223440.26546@blaze.cs.jhu.edu> Date: 2 Sep 92 22:34:40 GMT Sender: news@blaze.cs.jhu.edu (Usenet news system) Organization: Johns Hopkins Computer Science Department, Baltimore, MD Lines: 42