Xref: utzoo comp.windows.x:15005 comp.lang.c:23670 comp.unix.ultrix:2129 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cs.utexas.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.windows.x,comp.lang.c,comp.unix.ultrix Subject: compiling xgks fortran library Message-ID: <4200@helios.ee.lbl.gov> Date: 10 Nov 89 18:44:46 GMT Sender: usenet@helios.ee.lbl.gov Reply-To: envbvs@epb2.lbl.gov (Brian V. Smith) Organization: Lawrence Berkeley Laboratory Lines: 19 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 The objects in question are just enumerated constants, which according to Kernighan and Ritchie, are just ints. They are being compared to an enumerated constant and an integer. How can there be an "illegal comparison of enums"? I am doing this on Ultrix 3.0, vaxstation II. This works fine on SunOs 4.0 _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL, these non-opinions are all mine.