🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.apps
Article #68

Is there a way to get rid of CC warning message?

#68
From: Dan Watts
Date: Thu, 28 Jan 1993 15:34
14 lines
936 bytes
While compiling programs with -O, I get the following warning message:

  uopt: Warning: main: part(s) of procedure have no exit point

Is there a way to tell cc when I expect this to occur?  This happens
when I have a program that has a while(1) loop which I don't expect
it to ever exit other than via ^C.  It'd be nice if I could make
the warnings go away.

-- 
######################## Have A Nice Nude Day #########################
# EMail: dwatts@ki.com  UUCP: ...!uunet!ki.com!dwatts  Dan Watts      #
# Voice: 410 290 0355   FAX:  410 290 0397          ki Research, Inc. #
# The Bill Of Rights: Void Where Prohibited by Law. Vote Libertarian ##
Technical Details
Message-ID: <1298@ki.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ki.com!dwatts

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ki.com!dwatts
From: dwatts@ki.com (Dan Watts)
Newsgroups: comp.sys.sgi.apps
Subject: Is there a way to get rid of CC warning message?
Message-ID: <1298@ki.com>
Date: 28 Jan 93 15:34:57 GMT
Organization: ki Research, Inc. Derry NH
Lines: 14