Article View: gnu.gcc.help
Article #51965warning: control reaches end of non-void function
From: Ab Wilson
Date: Mon, 01 Mar 1993 21:10
Date: Mon, 01 Mar 1993 21:10
16 lines
1246 bytes
1246 bytes
Has anybody else had spurious warnings of this nature in functions which definately do return properly? I use gcc2.3.3 on sparc-sun-sunos4.1.2. The warnings aren't initially a problem, but they seem to combine with some other bug resulting in: /usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 4 :-( Unfortunately the code is too big to post. I'll try to cut it down to a managable size and post it. Ab. -- +--------------------------------------------------------------------+ | Whose opinions did you say these were? | naw@planet.bt.co.uk | +--------------------------------------------------------------------+
Technical Details
Message-ID:
<1993Mar1.211016.9000@planet.bt.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!axion!planet.bt.co.uk!nawShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c7e64d411d9642c3,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-02 01:37:42 PST Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!axion!planet.bt.co.uk!naw From: naw@planet.bt.co.uk (Ab Wilson) Newsgroups: gnu.gcc.help Subject: warning: control reaches end of non-void function Message-ID: <1993Mar1.211016.9000@planet.bt.co.uk> Date: 1 Mar 93 21:10:16 GMT Sender: news@planet.bt.co.uk Reply-To: naw@planet.bt.co.uk Organization: BT Labs, Martlesham Heath, Ipswich, UK. Lines: 16