home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / apps / 114 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  913 b 

  1. Path: sparky!uunet!ki.com!dwatts
  2. From: dwatts@ki.com (Dan Watts)
  3. Newsgroups: comp.sys.sgi.apps
  4. Subject: Is there a way to get rid of CC warning message?
  5. Message-ID: <1298@ki.com>
  6. Date: 28 Jan 93 15:34:57 GMT
  7. Organization: ki Research, Inc. Derry NH
  8. Lines: 14
  9.  
  10. While compiling programs with -O, I get the following warning message:
  11.  
  12.   uopt: Warning: main: part(s) of procedure have no exit point
  13.  
  14. Is there a way to tell cc when I expect this to occur?  This happens
  15. when I have a program that has a while(1) loop which I don't expect
  16. it to ever exit other than via ^C.  It'd be nice if I could make
  17. the warnings go away.
  18.  
  19. -- 
  20. ######################## Have A Nice Nude Day #########################
  21. # EMail: dwatts@ki.com  UUCP: ...!uunet!ki.com!dwatts  Dan Watts      #
  22. # Voice: 410 290 0355   FAX:  410 290 0397          ki Research, Inc. #
  23. # The Bill Of Rights: Void Where Prohibited by Law. Vote Libertarian ##
  24.