home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mips / 914 < prev    next >
Encoding:
Text File  |  1992-09-02  |  777 b   |  38 lines

  1. Newsgroups: comp.sys.mips
  2. Path: sparky!uunet!cton!nicholas
  3. From: nicholas@cton.cton.com (Nick Hennenfent)
  4. Subject: cc -volatile
  5. Message-ID: <1992Sep2.212343.1841@cton.com>
  6. Keywords: cc volatile
  7. Sender: nicholas@cton.com (Nick Hennenfent)
  8. Organization: Computone, Corp.
  9. Date: Wed, 2 Sep 92 21:23:43 GMT
  10. Lines: 26
  11.  
  12.  
  13. Given the following program -
  14.  
  15.     void (*f)();
  16.  
  17.     main()
  18.     {
  19.     }
  20.  
  21. And the following command line -
  22.  
  23.     cc -volatile xx.c
  24.  
  25. I get the following results -
  26.  
  27.     (ccom): xx.c, line 2: ccom: Internal: compiler takes size of function
  28.           void (*f)();
  29.           -----------^
  30.  
  31. Anybody know anything about this? Thanks.
  32.  
  33. -- 
  34. Nick Hennenfent
  35. Computone   1100 Northmeadow Parkway   Suite 150   Roswell, GA 30076
  36. VOICE (404) 475-2725 x362    FAX (404) 343-9735
  37. "Visualize whirled peas"
  38.