Xref: utzoo comp.unix.ultrix:2137 comp.windows.x:15014 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucsd!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.unix.ultrix,comp.windows.x Subject: Re: compiling xgks Summary: use vcc Keywords: Ultrix cc: illegal enum comparison Message-ID: <4205@helios.ee.lbl.gov> Date: 11 Nov 89 01:09:14 GMT References: <4203@helios.ee.lbl.gov> Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory Lines: 14 < I am trying to compile the fortran library part of xgks. < < /bin/cc -I. -I/usr/include/X11 -O -c control.c < "control.c", line 410: illegal comparison of enums < "control.c", line 410: illegal comparison of enums It would appear that "cc" in Ultrix 3.0 doesn't allow relational comparisons of enumerated values other than != and == (e.g. < or > ). "vcc" (Vax-C) seems to work fine. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.