home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 28929 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uunet.ca!canrem!dosgate![robert.fielder@canrem.com]
  2. From: robert.fielder@canrem.com (robert fielder)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: c set/2 compile prob
  5. Message-ID: <1992Sep1.1480.26082@dosgate>
  6. Date: 2 Sep 92 00:51:03 GMT
  7. Reply-To: "robert fielder" <robert.fielder@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 27
  11.  
  12. UA>z  Newsgroup: comp.os.os2.misc
  13. UA>       *array++=1;
  14.  
  15. UA>}
  16.  
  17. UA>*********************************************************
  18.  
  19. UA>When I compile giving the command
  20. UA>            icc /c /w3 /o+ sample.c
  21. UA>       I get the following error messages:
  22. UA>SAMPLE.C(12:15) : error EDC0117: The operation between these types is not valid.
  23. UA>SAMPLE.C(12:10) : informational EDC0140: Operand has type pointer to  signed long integer .
  24. UA>SAMPLE.C(12:17) : informational EDC0140: Operand has type signed integer .
  25.  
  26. Uma:
  27.  
  28. Try making the '1' as long, e.g.:
  29.         *array++ = 1l;
  30.  
  31. Robert
  32.  
  33. Entered on Tue  09-01-1992  18:18:57 from Brampton, Ontario, Canada
  34. ---
  35.  ~ DeLuxe} 1.21 #502 ~ To err is human; to ring telephonic
  36. --
  37. Canada Remote Systems  - Toronto, Ontario/Detroit, MI
  38. World's Largest PCBOARD System - 416-629-7000/629-7044
  39.