Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!dartvax!northstar5!kriso From: kriso@northstar5 (Kris Olander) Newsgroups: comp.sys.ibm.pc.rt Subject: Re: New hc compiler available IBM/4.3 Keywords: V1.13 compiler hc IBM/4.3 Message-ID: <15356@dartvax.Dartmouth.EDU> Date: 1 Sep 89 12:25:44 GMT References: <1830@ibmpa.UUCP> Sender: news@dartvax.Dartmouth.EDU Reply-To: kriso@northstar5.dartmouth.edu (Kris Olander) Organization: Project NORTHSTAR, Dartmouth College Lines: 37 Has anyone compiled the X11R3 Xibm code with the new compiler? (Jeff W. aka: Skippy The WH -- what results have you had?) I had some problems with vgaData.c and mpelData.c. -- make output -- -- for mpelData.o -- rm -f mpelData.o hc -c -g -L/usr/cs/lib -I. -I../BSDrt -I../../mfb -I../ppc -I../../../include -I../../../.././X11 -I../common -I../../../../extensions/include -DUNIXCPP -DNOSTDHDRS -DHCVERSION=21018 -DBSDrt -DRTIO mpelData.c E "mpelData.c",L226/C2: mpelSetColor | Type "void(unsigned long number,unsigned short red,unsigned short green, unsigned short blue,VisualPtr pVisual)" is not assignment compatible with type "void(*)()". 1 user error No warnings *** Exit 8 Hc1.4 has no problems producing object code from these C files. Also, note that when I check out the HCVERSION using the method suggested in Rt.macros, the version of hc2.1 is reported as 'hc2.1r' NOT 'hc2.1s' as stated by ACIS. ??????? The new compiler also finds alot of "...Expression has no side effects", and "...Result of comparison never varies" comments when compiling the Magic program from the Berkeley VLSI tools. We usually jump ship and switch to hc1.4 when we see these kinds of errors. -Kris Olander (just in case .sig) Sys. Eng. (doesn't get appended) Project NORTHSTAR # Kris Olander ---- ---- arpa: kriso@northstar.dartmouth.edu # # ---------------------------------------------------------- # # System Eng. Project NORTHSTAR # # Thayer School of Eng., Dartmouth College #