On Mon, Apr 30, 2012 at 2:00 PM, Jordi Gutiérrez Hermoso
<jord...@octave.org> wrote:
> On 29 April 2012 19:42, Claudio Freire <klaussfre...@gmail.com> wrote:
>> Here[0] is a patch that makes octave-forge build under gcc 4.7 and
>> another[1] for openmpi 1.5.
>
> Thanks. I looked at your modifications, and they mostly seem safe for
> earlier versions of gcc. Did 4.7 now decide that no return in non-void
> functions is now an error, not just a warning? Is this standard
> behaviour? I'm just curious.

MSVC has been reporting that kind of error for years. I always have to
"fix" these to make code compilable. Personally, I'd indeed consider a
non-void function without a return statement as an error.

Michael.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to