POV-Ray : Newsgroups : povray.beta-test : 3.7rc6 on Raspberry PI, compile errors : Re: 3.7rc6 on Raspberry PI, compile errors Server Time
17 May 2024 04:43:41 EDT (-0400)
  Re: 3.7rc6 on Raspberry PI, compile errors  
From: Dave
Date: 17 Aug 2012 17:35:47
Message: <502eb933$1@news.povray.org>
On 8/17/2012 4:17 PM, clipka wrote:
>>    vfesession.cpp:594:11: warning: case label value is less than minimum
>> value for type [enabled by default]
>
> That line seems somewhat bogus.

Variable 'm_BackendState' is declared as type 'State' (vfe/vfesession.h 
line 1316). The switch statement (vfe/vfesession.cpp line 576) contains 
a 'case -1:'. Whoever wrote that code perhaps expected that 
m_BackendState could have the value '-1'. If it does, then the case will 
never be caught since '-1' is not a valid value for that enum.


Post a reply to this message

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