POV-Ray : Newsgroups : povray.off-topic : Teach yourself C++ in 21 days : Re: Teach yourself C++ in 21 strange malfunctions Server Time
30 Jul 2024 00:25:57 EDT (-0400)
  Re: Teach yourself C++ in 21 strange malfunctions  
From: Darren New
Date: 19 Apr 2012 21:50:17
Message: <4f90c0d9$1@news.povray.org>
On 4/17/2012 12:51, Warp wrote:
>      // Execution will *never* reach here
>      // It's valid to omit a 'return'

But the compiler can prove that statically, so I'm not sure the problem.

I'm also not sure what the problem is with preventing use of uninitialized 
values without requiring the compiler to initialize them.

-- 
Darren New, San Diego CA, USA (PST)
   "Oh no! We're out of code juice!"
   "Don't panic. There's beans and filters
    in the cabinet."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.