Article View: comp.windows.interviews
Article #542IBM xlC on 3.1 beta
From: Tom Z.-Y. Zhou
Date: Thu, 27 Aug 1992 17:51
Date: Thu, 27 Aug 1992 17:51
32 lines
1697 bytes
1697 bytes
Has anybody there successfully compiled the 3.1 beta with the newly
released IBM C++ compiler xlC? My experience is rather bitter. Here is
what I did to the source to make it compile:
1. A few explicit type casts
o 1e-4 => float (in the call to Math::equal); false => int (in the
call to OpenBSpline::GetOriginal)
o void** => const void** or char** to const char** in several
occassions of parameters passing and assignment.
2. Redeclaration of select() in accordance with IBM AIX.
I didn't cast void*/char* to const void*/const void* in parameter passing
because xlC, with flag -qlanglvl=compat, only gives warning for those
conversions ("requires a temporary"). Now, my changes are rather
innocent, aren't they? But look at my result: doc core-dumps, idraw
gives me a screenful window filled with vertical lines, and layout in
idemo is chaotic. The only programs I got working are logo, dclock, ifc,
and maybe alert and mailbox.
Previously I have built 3.1 alpha with my private port of AT&T C++ 2.0.
Although it may have problems with inlines, I basically got around and
the system is working fine. Now since I have moved on both parts (3.1
beta and IBM C++), I don't know which part to blame. Help me!
-Tom
--
dfasajdkgsda
dskfuiksdahf dskufhksDFLSdf
dsFUISDAFH DSFJUKSdfk dsKFJKsdf
Technical Details
Message-ID:
<1992Aug27.175119.5665@m.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!zhouShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!zhou From: zhou@m.cs.uiuc.edu (Tom Z.-Y. Zhou) Subject: IBM xlC on 3.1 beta Message-ID: <1992Aug27.175119.5665@m.cs.uiuc.edu> Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL Date: Thu, 27 Aug 1992 17:51:19 GMT Lines: 32