help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic DLD help?


From: Stefan van der Walt
Subject: Re: basic DLD help?
Date: Tue, 12 Jul 2005 16:05:18 +0200
User-agent: Mutt/1.5.6i

On Tue, Jul 12, 2005 at 03:06:32PM +0200, Søren Hauberg wrote:
> return octave_value();
> 
> The last one is easy to forget.It would be nice if the compiler was able 
> to catch  this, but apperently it can't.

It can, and it does!

address@hidden tmp]$ mkoctfile -Wall test.cc
test.cc: In function `octave_value_list Ftest(const octave_value_list&, int)':
test.cc:12: warning: control reaches end of non-void function

Regards
Stéfan



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]