home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uunet.ca!canrem!dosgate![robert.fielder@canrem.com]
- From: robert.fielder@canrem.com (robert fielder)
- Newsgroups: comp.os.os2.misc
- Subject: c set/2 compile prob
- Message-ID: <1992Sep1.1480.26082@dosgate>
- Date: 2 Sep 92 00:51:03 GMT
- Reply-To: "robert fielder" <robert.fielder@canrem.com>
- Distribution: comp
- Organization: Canada Remote Systems
- Lines: 27
-
- UA>z Newsgroup: comp.os.os2.misc
- UA> *array++=1;
-
- UA>}
-
- UA>*********************************************************
-
- UA>When I compile giving the command
- UA> icc /c /w3 /o+ sample.c
- UA> I get the following error messages:
- UA>SAMPLE.C(12:15) : error EDC0117: The operation between these types is not valid.
- UA>SAMPLE.C(12:10) : informational EDC0140: Operand has type pointer to signed long integer .
- UA>SAMPLE.C(12:17) : informational EDC0140: Operand has type signed integer .
-
- Uma:
-
- Try making the '1' as long, e.g.:
- *array++ = 1l;
-
- Robert
-
- Entered on Tue 09-01-1992 18:18:57 from Brampton, Ontario, Canada
- ---
- ~ DeLuxe} 1.21 #502 ~ To err is human; to ring telephonic
- --
- Canada Remote Systems - Toronto, Ontario/Detroit, MI
- World's Largest PCBOARD System - 416-629-7000/629-7044
-