Message-ID: <004d01c28794$25a22c90$0100a8c0@p4> From: "Andrew Cottrell" To: References: <200211081254 DOT NAA18624 AT lws256 DOT lu DOT erisoft DOT se> Subject: Re: Weird ceil() and other results Date: Sat, 9 Nov 2002 13:02:36 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Reply-To: djgpp-workers AT delorie DOT com > The reason it breaks when it breaks is that undeclared functions in C > defaults to returning int. So when something else than int is returned > things breaks. > > Does "-Wall" generate a warning message? It sure does. Indicating "Warning: implicit declaration of function "........"" Thanks for this. Andrew